• appearance in taskbar gone...

    2
    0 Votes
    2 Posts
    260 Views
    EkopalypseE

    @Lody-J-Claessen

    I get, that npp is running but only the icon disappeared from the taskbar while currently active, right?
    Can you post your debug-info, which is available from the last menu, the ? menu?
    Can you describe a little bit in more detail what exactly you are doing?
    I’m not familiar with reload script …, how is this relevant? Is this something how you start normally npp?
    Or something you do within npp, if so what exactly is supposed to happen?

  • Cannot disable vertical scroll sync

    2
    0 Votes
    2 Posts
    376 Views
    EkopalypseE

    A picture is worth a thousand words.

    50712a4c-0098-4db5-9a2e-0466d01ebbbc-image.png

    Hint: Synchronize … ;-)

  • ANSI not saving Polish and Russian characters

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    It depends on what your “compiler” means by “ANSI character set”.

    If it means Windows-1252, looking at the charcter set in that encoding, there are no Polish or Russian characters. This is the encoding that will be used if you Encoding > Convert To ANSI in Notepad++. If it means “one of the many 8-bit Windows code pages”, some of them have Polish or Russian characters, some don’t; none of them are compatible with each other, and you have to have some way of telling the compiler which code patge is being used.

    My guess is that whatever language you are using that requires an 8-bit character set (“ANSI” of either flavor) has a mechanism for escaping unicode characters inside its strings, rather than typing the character directly. For example, in C, if you cannot type "Ж", you can use "\u0416" to get that unicode character. If your language/compiler is code-page aware, there may be a way to set it, and use something like "\x##" inside your string, with whatever code point is that character in that specific code page.

    But none of these are directly Notepad++ related (ie, it’s a problem that is the same, no matter what text editor you use for editing your source code). Basically, if your compiler requires only 8-bit characters (and won’t accept an encoding like UTF-8 which uses multiple bytes to encode one character for code points above 127), then you need to learn in your language/compiler how to encode/escape characters that aren’t in its native character set, and that’s not something we can help you with.

    Once you have the details of how to escape those characters in your string, together with a list of the likely characters that you’d need to convert, we might be able to help you with a sequence of Notepad++ search-and-replace and file-encoding-changes that will be able to convert the file to the right encoding and the fancy characters to the right string-escapes. It all depends on how many different characters you need, how many files you have, and the syntax of the escapes in your language.

  • "Timecode <new line> Timecode" to "Timecode --> Timecode"

    2
    0 Votes
    2 Posts
    328 Views
    Alan KilbornA

    @Mariánthi-Doumáni

    Assuming your data is nicely balanced, always occurring in these pairs:

    Search for (\d\d:\d\d:\d\d:\d\d)\R(\d\d:\d\d:\d\d:\d\d) and replace with \1 --> \2 and set your search mode to regular expression.

  • Plugins -> NppExport lost color format in version 7.7.7

    14
    0 Votes
    14 Posts
    3k 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
    607 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
    503 Views
    Emiliano BoraginaE

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

  • 0 Votes
    6 Posts
    421 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
    200 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
    426 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
    4k 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
    258 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
    357 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
    279 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
    297 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
    365 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
    330 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
    231 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
    419 Views
    No one has replied