• Plugins -> NppExport lost color format in version 7.7.7

    14
    0 Votes
    14 Posts
    4k Views
    Carl WitthoftC

    @Michael-Vincent Version 0.30, 32-bit, does not work for me, Npp 7.7 on Windows 10 . However, updating to Npp7.8.1 does allow Nppexport to work. So no problem here, but other users may want to update.

  • adding comma between numbers

    5
    2 Votes
    5 Posts
    6k Views
    guy038G

    Hi, @peterjones, and All,

    It necessary to point out that, in Notepad++, the \G assertion, in addition to the very end of the previous search, also matches :

    The very beginning of the subject text ( obvious )

    Any new location, deliberately created by the user, by moving the present caret location to an other one, between two clicks on the Replace button, when possible !

    Cheers,

    guy038

  • All configs lost

    10
    0 Votes
    10 Posts
    627 Views
    jomofcwJ

    @Ekopalypse
    YOU
    ARE
    AMAZING !

    Thanks so much, I’ve restored a previous version (just before the fail), and all seems to be OK right now.
    Thank you so much !

  • Cant open folder on network

    3
    0 Votes
    3 Posts
    511 Views
    Emiliano BoraginaE

    Hi Peter. Thank you very much! The setting like you mark works perfect! Thank again. Regards

  • 0 Votes
    6 Posts
    454 Views
    PeterJonesP

    There were some server issues this weekend, but it’s working for me now. You might need to reload the page, and maybe even clear your browser cache and try again.

  • 0 Votes
    2 Posts
    205 Views
    dinkumoilD

    @Ryan-Mooney

    It would be very helpful if you would post some example data that demonstrates the structure of your XML file. The description you gave above is too vague to be helpful. Of course you can (and should) anonymize your data before posting.

  • How to add a new split symbol ?

    3
    0 Votes
    3 Posts
    512 Views
    XJ.Chen XJ.ChenX

    @PeterJones Oh! In fact, I used the version of 7.5.5 before. After your reminder, I upgraded to the latest version, and then found that the problem was automatically solved 😂.
    Well, thank you very much for your reply.

  • Updated Autocomplete for Python 3

    4
    0 Votes
    4 Posts
    5k Views
    Alan KilbornA

    @Noah-Black

    There was also a recent issue filed regarding this: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6259 “Fix keywords list according to Python 3”

  • Couldn´t get a macro running

    2
    0 Votes
    2 Posts
    266 Views
    EkopalypseE

    Plugins are not really “macro-recordable” but may I ask you if this
    is really needed in your case?
    It looks to me that pressing Ctrl + Alt + Shift + B is enough to reformat the xml.

  • Regular Expression Replace

    3
    0 Votes
    3 Posts
    366 Views
    Peter HeesenP

    @Ekopalypse said in Regular Expression Replace:

    ([0-9]) ([0-9])

    Thank you, yes. That works perfectly.
    I’m really grateful/
    Rgds, Peter

  • Right clicking Host file and selecting edit with notepad++ returns error

    2
    0 Votes
    2 Posts
    290 Views
    EkopalypseE

    As I’m not using the installed version I’m not sure whether this tip might be useful in your case.

  • Weird text highlight when changing theme

    2
    0 Votes
    2 Posts
    303 Views
    EkopalypseE

    Languages are not theme aware which means, each theme need to implement its version of the used styles.
    See here for more details.

  • Notepad++

    3
    0 Votes
    3 Posts
    375 Views
    guy038G

    Hello, @ravivarma-kv, @terry-r and All,

    I found out a simple regex, which needs to be executed one time, only ! I just assume, as Terry did, that pure blank lines are deleted, as well !

    So, given, for instance, this sample text below :

    1st line with 1 LEADING space This is a text which does NOT have any LEADING space 2nd line with 1 LEADING space A single line WITHOUT leading space 3rd line with 1 LEADING space 2nd multi-lines text with NO Leading space 4th line with 1 LEADING space 1st line with 3 LEADING space 5th line with 1 LEADING space 6th line with 1 LEADING space 3rd multi-lines text WITHOUT any leading space A last line with 1 LEADING space This is a very long multi-lines text with NO leading space for all the lines !

    Use the following regex S/R :

    SEARCH \R(?=(\x20|\z)|)

    REPLACE ?1$0

    Of course, select the Regex expression search mode. You should get the expected text :

    1st line with 1 LEADING spaceThis isa textwhich doesNOT have anyLEADING space 2nd line with 1 LEADING spaceA single line WITHOUT leading space 3rd line with 1 LEADING space2nd multi-lines textwith NOLeading space 4th line with 1 LEADING space 1st line with 3 LEADING space 5th line with 1 LEADING space 6th line with 1 LEADING space3rd multi-lines textWITHOUT anyleading space A last line with 1 LEADING spaceThis is avery longmulti-lines textwithNO leadingspacefor allthelines !

    I verified that I got the same output, using Terry’s regex solution ;-))

    Notes :

    This regex searches for any kind of EOL characters, followed by, either :

    A space character or the very end of file ( => Group 1 exists )

    Any kind of character ( other standard char or EOL char, due the empty alternative |)

    Due to the conditional replacement syntax ?1$0, this matched EOL character is rewritten ( $0 = Whole match ) only if  the group 1 exists. In all the other cases, it is just deleted

    Remark :

    If you prefer that the joined lines are separated with a space character, we need to distinguish between the standard characters, other than a space char, beginning the subsequent lines and any other character. So, use, instead, the followed regex S/R :

    SEARCH (?-s)\R(?=(\x20|\z)|(.)|)

    REPLACE (?1$0)(?2\x20)

    This time, due to the (?2\x20) conditional replacement, the matched EOL char is replaced with a single space character

    And you’ll get the text :

    1st line with 1 LEADING space This is a text which does NOT have any LEADING space 2nd line with 1 LEADING space A single line WITHOUT leading space 3rd line with 1 LEADING space 2nd multi-lines text with NO Leading space 4th line with 1 LEADING space 1st line with 3 LEADING space 5th line with 1 LEADING space 6th line with 1 LEADING space 3rd multi-lines text WITHOUT any leading space A last line with 1 LEADING space This is a very long multi-lines text with NO leading space for all the lines !

    Best Regards,

    guy038

  • new user

    4
    0 Votes
    4 Posts
    335 Views
    PeterJonesP

    @PeterJones said in new user:

    (see here for a pre-released doc that has a section on the shortcuts.xml config file, which also contains the run-menu entries).

    Documentation set was updated, so that section is now available at https://npp-user-manual.org/docs/config-files/#keyboard-shortcuts-shortcuts-xml

  • Double-Click problems with version 7.8.X

    2
    0 Votes
    2 Posts
    247 Views
    Carl WitthoftC

    One other bit of data: I switched back to the 32-bit version of NP++ . I haven’t had a chance to see if the 64-bit version of 7.7 works or not, so this may be a conflict with 32 vs 64 bit operation.

  • Automated Download of the latest Notepad++ version

    1
    0 Votes
    1 Posts
    468 Views
    No one has replied
  • FTPS (implicit) List directory issue

    2
    0 Votes
    2 Posts
    302 Views
    DarrenStD

    Solved it, There seems to be an issue with OpenSSL on the later version of nppFTP.

    Rolling back to an earlier version fixes the issue.

    Working version for anyone else with the same issue:
    https://github.com/ashkulz/NppFTP/releases/tag/v0.29.1

  • Search for a multiple variable number

    7
    0 Votes
    7 Posts
    2k Views
    Paul CarfauP

    Your my god, thanks a lot man !

  • Rearrange data in columns.

    2
    0 Votes
    2 Posts
    292 Views
    guy038G

    Hello, @jorge-luis-alvarez,

    Before looking further on, about regexes, some basic questions. Approximatively,

    How many lines DATA#="..." ...... DATA#="..." contain your file ?

    Is DATA5 the maximum data or you may have up to DATA9 or even the form DATA## with 2 digits ?

    May the values be possibly empty like, for instance, DATA3="" ?

    Should, in the output file, data be sorted, according to the values of DATA1 ?

    Best Regards,

    guy038

  • Notepadd++ saves without file extensions unless manually entered

    2
    0 Votes
    2 Posts
    358 Views
    Alan KilbornA

    Set the highlighted Preference the way it is shown:

    89a9f5f4-a3ab-4e70-822a-bfda733d3e1f-image.png