• Page break Text File saving

    25
    0 Votes
    25 Posts
    2k Views
    Ohm DiosO

    @guy038 Hello sir, Is there any possibilities of saving name from text file instead of File_1?. Thanks.

  • Open a file with npp exec

    5
    1 Votes
    5 Posts
    736 Views
    Patrick DanileviciP

    @PeterJones Teaching literature is not an advantage when you use pc that’s why sometimes I ask on communities simple questions. Is working now. Thanks a lot!

  • 0 Votes
    8 Posts
    454 Views
    Alan KilbornA

    @Vasile-Caraus

    A viable technique, although not a technique inside Notepad++.

    I think your technique is going to also copy over the “START” and “FINNISH” lines into the destination file, which, to the OP, may not be desirable.

  • Loading preferences by file extension.

    12
    0 Votes
    12 Posts
    866 Views
    James SwallowJ

    Thanks for all the input thus far. Much obliged!

  • Copy From one text file and Paste it on another Text File using Regex

    25
    1 Votes
    25 Posts
    3k Views
    guy038G

    Hi, @ohm-dios,

    Ah…, of course ! In the search regex :

    (?s-i)START\h*(\d+).+?END\R(?=.+(START\h*\1\R.+?END\R?))|^===.+

    You’ll notice the part START\h*\1\R, which defines the beginning of the paragraph that need to be copied, located under the ======== line

    The back-reference \1 to the group 1 ( which is the number after the START string and space char(s) ) must be immediately followed with the EOL chars ( \R )

    Thus, if anything is located between the number and the end of line, it cannot be equal to the corresponding number, located above the ========= line => NO match of this specific paragraph :-((

    BR

    guy038

  • Down slider jumps to the left when clicking the right side of the file

    7
    0 Votes
    7 Posts
    2k Views
    DarkDarkD

    @Alan-Kilborn Thanks, I didn’t know the “Word Wrap” view.

  • 0 Votes
    4 Posts
    327 Views
    Alan KilbornA

    Probably best to avoid the old TextFX plugin.

    Double-clicking the “length : xxxx lines : yyyy” part of the status bar will bring up a Summary box which has a word-count.

    Also available via View menu > Summary…

    Here’s a sample, highlighting the word-count area:

    3b058e7e-641e-4990-af8e-02b038232eb3-image.png

  • 0 Votes
    14 Posts
    2k Views
    Robin CruiseR

    THIS IS THE ANSWER !

    A GREAT ANSWER for this problem, but using PowerShell in Windows. Very simple !!

    https://superuser.com/questions/1620195/parsing-how-to-copy-html-text-content-from-a-section-of-several-pages-to-the-se

  • replace " by "

    10
    0 Votes
    10 Posts
    722 Views
    Pouemes44P

    hello Guy

    Yes only these quotes (i dont succeed here to put in bold it give me these **)

    if i do a normal S/R it will change all the quotes of my html page

    is it possible with regex to S/R only inside a part of a page
    in my example inside these two blocks when notepad++ find them

    <div class=“texte”>
    </div>
    and
    <div class=“txt”>
    </div>

    if it is possible it will be great for me even for others S/R i can do

  • RegEX - How can I make automatic a new line (break) at x character

    12
    0 Votes
    12 Posts
    673 Views
    PeterJonesP

    @PeterJones said in RegEX - How can I make automatic a new line (break) at x character:

    Yes, the documentation that you were linked to could have described that to you

    specifically, the section https://npp-user-manual.org/docs/searching/#multiplying-operators.

  • Notepad++ 7.9.2(64bit) and Coldfusion

    2
    0 Votes
    2 Posts
    590 Views
    dinkumoilD

    @nnp729

    Have a look at >>> this thread <<<, the answers of @rddim and me are still valid.

  • Trying to avoid reload prompt

    2
    1 Votes
    2 Posts
    230 Views
    EkopalypseE

    Npp uses ReadDirectoryChangesW to get notified when a file has been modified. I don’t think you can catch this message.
    Reopening might be the only solution I guess.

  • html, php and css

    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    @Ana-Mendes ,

    Yum, cookies!

    You can use Notepad++ to type the valid HTML or PHP code that calls the appropriate CSS or included-PHP. The syntax for what those calls look like would be found on help sites for HTML, PHP, and/or CSS.

    This forum is about how to use the Notepad++ text editor – using its builtin and plugin features, finding the correct menu entry, etc. Specifics on coding (whether it’s HTML/PHP/CSS or C++ coding) aren’t on-topic for this forum, because we cannot be expected to be experts on every type of file that you might want to type.

    For example (and to explain my first statement), just because you’re typing your favorite chocolate chip cookie recipe using Notepad++ doesn’t mean that the members of this forum can tell you why they taste bitter. There might be someone here who knows, but it’s not the topic of the forum.

    If your question really is, “when I type code (insert example here) in Notepad++ and save the file as filename, my browser cannot read the file; but when I type the same code with microsoft windows’ builtin notepad app and save filename2”, then it’s on topic, because the difference is in how you are using Notepad++, not in what you are typing – if so, explain why you think it is on topic. But if you can type the same things in Notepad++ and in any other text editor, and you get the same end results, then the problem is obviously with what you typed, not with how you are using Notepad++ itself. Since this is a Notepad++ forum, then the answer to your question isn’t best found here.

  • How to create multiple files from a single text file ?

    5
    0 Votes
    5 Posts
    4k Views
    Robin CruiseR

    WORKS PERFECTLY, thanks !!

  • C - Check for unused variables and defines

    3
    0 Votes
    3 Posts
    734 Views
    Alan KilbornA

    @Robert-Lewis

    To elaborate on what Eko is meaning is that you would set up a compiler to run a compile on your source file, and produce output for you which would indicate your “unused variables” in an output window.

    Ideally the output window has clickable links which would take you to the point of the problem in your original source code.

    This would be a “manual run” kind of thing; if you were looking for something that would be an “as you type” solution, I think you’re out of luck.

    There is some good info in this vein to be found HERE.

  • Won't save

    3
    0 Votes
    3 Posts
    189 Views
    Alan KilbornA

    I suppose the OP isn’t coming back…but I believe this could have something to do with a bug in the SessionManager plugin, if that is used.

  • Mirror for npp-user-manual.org

    3
    0 Votes
    3 Posts
    215 Views
    snmnarumS

    @Ekopalypse Thanks! I didn’t think to check for it there.

  • Opening a sesson seems to disable Doc Switcher

    3
    0 Votes
    3 Posts
    151 Views
    PeterJonesP

    Sorry, just confirmed, the change log listed:

    Fix dockable panels not being displayed regression due to multi-instance mode activation. (Fix #9341 & #9363)

    According to #9491’s links, #9341’s fix is included in v7.9.3, and the comments on #9491 say that the fix will also fix the session / Document List Panel interaction.

  • I don't uderstand "folder Backup"...

    5
    0 Votes
    5 Posts
    1k Views
    Antonio RoscianoA

    (I have two laptops with Win 10. The XP is used for testing)

  • CSS Syntax Highlighting

    2
    0 Votes
    2 Posts
    195 Views
    Ds CreativeD

    Sorry, figured it out. There was a really old langs.xml file in my Users{username}\AppData\Roaming\Notepad++ folder that was being used. All sorted now.