• This is still an issue - any plans to address?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    dailD

    This is a problem with Scintilla, meaning you should report it to them.

  • Orange Background on line of edited text

    Locked
    6
    0 Votes
    6 Posts
    10k Views
    Claudia FrankC

    thx for the flowers but to be honest, this wasn’t that difficult as I were in the same situation as OP some time ago.
    It drove me crazy and I wasn’t able to find the reason because I was looking for npp settings only.
    Then one day, per accident, I checked the settings of location navigate plugin and, voila, here we go. :-)
    Cheers
    Claudia

  • 0 Votes
    8 Posts
    4k Views
    guy038G

    Hello Camilo,

    In addition to the Claudia’s Search/Replacement, we could simplify and shorten a bit this S/R, as below :

    Find what: ^(?:.+?,){3}\K(.+?,)(.+?), Replace with : \2 \1

    Notes :

    ^ represents the classical assertion Start of line

    (?:.+?,){3} represents a non-capturing group, repeated three times, exactly, in order to go through the first three columns. This group is the smallest range of standard characters, with its comma delimiter

    The \K syntax forces the regex engine to forget any previous match of the regex

    So, the remainder, (.+?,)(.+?),, is the final match, which gets the 4th column along with the comma delimiter AND the 5th column, without its comma delimiter

    In replacement, the syntax \2 \1 just swaps these two columns, with a space between them

    IMPORTANT :

    As the \K form is used, your MUST perform a global replacement, clicking on the Replace All button.

    The Step by Step replacement, with the Replace button, does nothing, in that specific case ( N++ bug ) !

    Best regards,

    guy038

  • Focus does not return to previous app when closing

    11
    0 Votes
    11 Posts
    6k Views
    minsikauM

    I have now used the compare 1.5.6.7 without any problem, as compared to the plugin manager normal download. Now it works as it is supposed to and a big relief.
    Why is it simple things get overlooked. Thanks for help resolving.

  • 0 Votes
    6 Posts
    4k Views
    W P BlatchleyW

    Well, I don’t know exactly what’s happening, but I think I have some useful insight. You were right that the problem was tied to the UDL “AutoHotKey” (which is not authored by me). So I checked the XML file that defines that UDL, and noticed that every style in the <styles> section had a fontName specified, and that the font specified was not a font on my system.

    In the “Define your language…” dialog within NPP, all the “Styler” buttons were leading to dialogs with “Font options” -> “Name” being blank, which I assumed to mean “use the default style”. However it appears that NPP is NOT using the default style when it doesn’t recognise the font specified in the XML file. Why or even if that leads to the strange bracket-matching behaviour above, I don’t know.

    For now, I have removed those fontName specs from the AutoHotKey UDL on my system, and NPP now uses the default font as expected, so everything is fine.

    I hope this information can help lead to the bug being tracked down.

    WPB

  • Session files not using highlighter

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Quitch,

    can you check the session.xml file and see it the proper language has been set.
    If yes, can you post it?

    Cheers
    Claudia

  • Notepad ++ Open with boxe

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Zachary WilsonZ

    I saved it as a .txt file and then I get the box thanks for the help!

  • How to search/replace newlines

    Locked
    7
    0 Votes
    7 Posts
    12k Views
    Chuck PuckettC

    Well, really, that last sentence was all I needed. :)
    Tnx!
    Guess it’s time I spent some time roaming around Notepad++ menus instead of thinking I’m using my grandad’s Notepad. :)

  • Notepad++ Deleted recent documents please help!

    Locked
    9
    0 Votes
    9 Posts
    13k Views
    Claudia FrankC

    Hi Kelly,

    good to see that the docs are still available but now it’s time to update npp, isn’t it? ;-)
    Don’t feel stupid - who solved it? - yourself. Be happy ;-)

    Cheers
    Claudia

  • Clone to Other View reduces font size in cloned view

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Darrell PruittD

    @Claudia-Frank

    Outstanding! Thanks for the quick reply!

  • 0 Votes
    2 Posts
    2k Views
  • How to make that a double-click selects the words separated by a hyphen?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @ForSeo-ReadAnalitics

    There is no builtin way to achieve this but see here.

    Cheers
    Claudia

  • Need some Help with Filtering out my Text

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Aaron MillerA

    I do understand. It worked. Thank you so much Claudia!

  • Prevent autocomplete for some file extensions

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello Ben-Frey,

    natively, no. What could be done is using a python script.
    But this is a bit of a hack as this script would set all chars
    you define as a stop char. But this means also you need to install
    the python script plugin. Instructions how to setup are here.

    The script would look like this

    import os ext = '.txt' # extension which shouldn't have autocompletion charset = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_' # chars which should prevent autocompletion def callback_BUFFERACTIVATED(args): filename, extension = os.path.splitext(notepad.getBufferFilename(args["bufferID"])) if extension == ext: editor.autoCStops(charset) notepad.clearCallbacks([NOTIFICATION.BUFFERACTIVATED]) notepad.callback(callback_BUFFERACTIVATED, [NOTIFICATION.BUFFERACTIVATED])

    Cheers
    Claudia

  • How do I remove everything outside of marked lines?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Aimee ElizabethA

    Thank you Claudia, that absolutely set me on the right track.

  • np++ shortcuts not working

    Locked
    6
    0 Votes
    6 Posts
    9k Views
    Claudia FrankC

    I assume you used %APPDATA% during installation, if so, can you please try the following

    make sure no npp is running open %APPDATA% directory and rename Notepad++ to Notepad++old start npp and make your test.

    Cheers
    Claudia

  • UDL Syntax coloring for JSON-encoded language

    9
    1 Votes
    9 Posts
    6k Views
    Claudia FrankC

    @Michael Orr
    Hello Michael,

    unfortunattely I din’t get it managed.
    I strongly believe that the current version of UDL cannot answer this question.

    Cheers
    Claudia

  • This will disable the accelerator!

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC

    Hello Michael-Whitmore,

    Afaik it means you can’t call the saved function by using shortcuts as you haven’t assigned one.
    Nothing to be afraid of.

    Cheers
    Claudia

  • Need a targeted open mode for np++

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Mark SwansonM

    Thanks, that worked. A bit more absolute than I would prefer but the tool is now usable again.

  • Python Script macros: Apparently I am too stupid ...

    Locked
    6
    0 Votes
    6 Posts
    9k Views
    Claudia FrankC

    Hi Matt

    In answer to your other question: no, previously I wasn’t getting any error messages upon notepad++ startup. That would have been nice, of course. So is there a bug to be reported here, and if so, to whom should it be reported? Is it a plugin bug or a notepad++ bug, or both?

    That’s a good question, I assume it is the plugin manager and has to do with permissions when npp was installed instead of unpacked but didn’t tested it really.

    Anyway, stay tuned, I’m sure I’ll have some Python Script newbie questions soon!

    ;-)

    Cheers
    Claudia