• How to run a find function with multiple data points

    3
    0 Votes
    3 Posts
    309 Views
    VerbobossV

    PeterJones thank you

  • Latest Update deleted NppCrypt plugin

    2
    0 Votes
    2 Posts
    442 Views
    PeterJonesP

    @Terry-TeeEss-Syndergaard ,

    My assumption is you were using an older version of NppCrypt. When Notepad++ updated, it was no longer compatible with that old version, but would allow you to install the new NppCrypt.

    Unfortunately, as stated in the FAQ by the NppCrypt author, there was one point where the NppCrypt author changed the algorithm (between 1.0.1.5 and 1.0.1.6), which made files encrypted under the old version no longer work with the new version.

    The FAQ suggested putting the old DLL in the right folder, then unencrypting, then re-installing the most recent NppCrypt and re-encrypt the files. However, if the old version of NppCrypt is no longer compatible with Notepad++, you will want to change the sequence slightly:

    download an older portable Notepad++ – it would have to be one before the 1.0.1.6 version of nppCrypt was released (Mar 2019), so I suggest v7.6.3, which I just confirmed will properly install NppCrypt 1.0.1.5 from Plugins Admin. Unencrypt your file(s) with the portable Notepad++ v7.6.3 with NppCrypt 1.0.1.5 Open the unencrypted file(s) with your recent Notepad++ with NppCrypt 1.0.1.6, and encrypt using the new algorithm If you’ve done this for all your encrypted files, you shouldn’t need the portable copy of Notepad++ anymore
  • How to dock Search results window?

    4
    0 Votes
    4 Posts
    6k Views
    AntonA

    Wow, thanks!
    I’m so stupid! Double click works perfect.
    I didn’t guessed it and suffered from this floating panel all last week.
    I was looking for some option in settings to get all back but double click is much better.

  • Version 8.5.7 doesn't recognize some files with html ext

    2
    0 Votes
    2 Posts
    199 Views
    PeterJonesP

    @Edward-Mcdaid said in Version 8.5.7 doesn't recognize some files with html ext:

    New files

    Have you tried saving the file, so that it knows what kind of file it is?

    If you want all new files to start as HTML, you can set that in Preferences > New Documents , otherwise you have to manually tell Notepad++ what file type it is, either by saving or by using the Language menu

    Actually, now I see that your title mentions .HTML extension… so check the Style Configurator for HTML: if it doesn’t list the four-lettee extension, you might have to add it to your user extensions. (I thought it was there by default, but maybe I’ve misremembered, or something got messed up in your installation)

  • Search Result font size/zoom level

    2
    0 Votes
    2 Posts
    373 Views
    Alan KilbornA

    @tordenflesk said in Search Result font size/zoom level:

    recent update of np++

    It’s traditional when making a complaint to cite the version you are currently running, as well as the version you were last running when it worked properly (if you can remember that, of course).

    search results text is blurred

    I have never seen such blurriness in only certain windows of the program. Just a wild thought here, but maybe experiment with the Direct Write setting. Probably won’t have any effect, but it is about the only thing that comes to mind for me.

    Anyway to set the default font size/zoom level?

    Not specifically and independently for Search results. The zoom level goes back to zero when Notepad++ is exited and restarted. The font size after a restart is the same as the font size for the editing window (at its zoom level 0). Side note: The zoom level for the main editing window IS retained from run to run of Notepad++.

  • xml lost after choosing user language

    2
    0 Votes
    2 Posts
    186 Views
    Terry RT

    @yehuda-levi said in xml lost after choosing user language:

    how to keep it as XML when choosing user language ?

    Notepad++ doesn’t (as far as I know) allow a combination of 2 languages to be selected at the one time, that would be sort of contradictory.

    But I believe a plugin called EnhanceAnyLexer here is where you should be looking. You install it from the Plugins/Plugins Admin menu option. So you would leave XML as the language and use the EnhanceAnyLexer plugin to supplement XML with the additional key words that form your custom language.

    My 2cents worth
    Terry

  • More than one Commen Line type in UDLs?

    3
    0 Votes
    3 Posts
    322 Views
    Sam MarroccoS

    Thank you, Peter.
    Your suggestion does exactly what I needed. Thank you.

  • WIndows 11 Plugins Admin Install Button Disabled

    3
    0 Votes
    3 Posts
    831 Views
    Ben SwansonB

    I appreciate your response and shamefully admit I overlooked the checkboxes. Thank you, Coises , that’s all it was. Plugins are installing juuuuust fine now.

    Hopefully this post doesn’t give false hope to someone seeking help for legitimate Windows 11 issues!

  • 0 Votes
    3 Posts
    346 Views
    Paolo LinxP

    @ Alan-Kilborn

    Wow! I missed your post…
    Thank you so much!

  • Keep custom settings during silent uninstall

    2
    0 Votes
    2 Posts
    352 Views
    Michel GaumontM

    Uninstalling the app was not the better solution in this case.

    I had to make sure NP++ was not running while transitioning to PatchMyPC.

    Afterwards, I had to delete whatever’s left of Chocolatey.

    I’d still be interested to know if there’s a silent option for keeping local profiles ^^

  • Replace random values with 0

    3
    0 Votes
    3 Posts
    277 Views
    Raoul EmilR

    @ Coises You are amazing,thank you very much.

  • Merge 2 Ascii Files in one

    10
    0 Votes
    10 Posts
    1k Views
    Mark OlsonM

    A proposal to clarify posts like this, so that people don’t waste time solving the wrong problem:

    use the word concatenate to refer to the process of taking a bunch of things and adding them one-after-the-other. use the word merge to refer to the process of taking a bunch of things and putting them together so that they overlap.

    For example, the link Doğancan posted above goes to a thread where I made a tool to merge files (examples in that thread).

    What everyone has been discussing above appears concatenation and should be labeled as such.

  • URL to XML Structure

    3
    0 Votes
    3 Posts
    576 Views
    L

    Thanks PeterJones, it worked flawlessly.

    Now I also understand the principle, so I can easily adapt it. You just have to have seen once :-)

    Thanks!

  • XML pretty print not working

    2
    0 Votes
    2 Posts
    1k Views
    gerdb42G

    @Hao Please note the following hints to formatting in this forum. There you can find how to mark text to be inserted literally and thus avoiding to get it mangled by the forum software.

    The CR LF is most likely shown because you have activated the option to show special characters which are normally invisible. Just hit the Pilcrow Symbol (“¶”) in the toolbar to disable.

    In the XMLTools Menu disable the Option “Enable auto Validation” and reload the file. That should prevent the other lines form appearing.

    Your version of Notepad++ is pretty outdated. Maybe you should ask your Admin about possibilities to update.

  • Find and replace across multiple rows

    3
    0 Votes
    3 Posts
    338 Views
    Ricardo GonzalezR

    That worked like a charm. Saved me hours worth of work. Thanks so much, I REALLY appreciate it.

  • Using Notepad++ on hosting

    2
    0 Votes
    2 Posts
    4k Views
    PeterJonesP

    @Саяд-Махмудов said in Using Notepad++ on hosting:

    Hello everyone! Does anybody know how to use notepad++ on hosting using the ssh protocol,

    The plugin NppFTP has the ability to make FTP or FTPS or SFTP (the last of which uses the SSH protocol for doing file transfers), to allow you to edit remote files in Notepad++.

    in order to edit all files on the server at once without downloading them to computer?

    Technically, that won’t happen; in order to be able to use an app on your local machine (ie, Notepad++) to edit a file on a remote machine (at the other end of the SSH/SFTP link), the bytes for the file must come over the network to be at least temporarily on your local machine; the NppFTP plugin will keep a local cache of the remote files, which is technically what is being edited, but every time you save in Notepad++, the NppFTP plugin sends the data back to the remote machine, via SFTP.

  • .TXT filenames don't get passed to NotePad++

    5
    1 Votes
    5 Posts
    333 Views
    afk afkA

    OK!! (maybe)

    You were right. I found the registry entry
    \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\open\command
    with the entry
    //“c:\Program Files\NotePad++\NotePad++.exe”
    and added “%1” and it worked first time, every time.
    Thanks very much.
    I tried to upvote your answer but I don’t have enough “reputations”
    Austin Kelly

  • How to highlight using plugin

    2
    0 Votes
    2 Posts
    261 Views
    PeterJonesP

    @Eileen-Ling said in How to highlight using plugin:

    highlight a certain word in red color using enhanceanylexer.

    If by “highlight” you mean “change the background to red” – no, EnhanceAnyLexer only changes foreground.

    If by “highlight”, you mean “change the foreground text color to red”, then yes.

    [LexerOrUdlNameHere] 0x0000FF = hello
  • User Defined Language

    2
    0 Votes
    2 Posts
    231 Views
    PeterJonesP

    @Eileen-Ling ,

    With just the User Defined Language (UDL) syntax, what you want is probably not achievable.

    However, if you install the EnhanceAnyLexer plugin (using Plugins > Admin tool), then you can make sure your file has the right UDL active, then use Plugins > EnhanceAnyLexer > Enhance Current Language to edit the plugin’s config file. You can then define foreground color changes using “0xBBGGRR = regex” pairs.

    32d726da-3676-466c-b50b-0f889bb555b6-image.png

    [udf] ; color each word, 0x66ad1 is the color used, see the description above for more information on the color coding. 0x0080FF = \([^)\\]]*?\) 0x0080FF = \\[[^)\\]]*?\\] 0x00FF80 = \([^)\\]]*?\\] 0x00FF80 = \\[[^)\\]]*?\) ; check in the respective styler xml if the following IDs are valid excluded_styles = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23

    In my example, I defined four regular expressions: two will match the balanced [...] and (...); the other two match the imbalanced [...) and (...]

    If you don’t want it to match multiline, change each of those four regex to have \r\n right after the ^, so that it doesn’t look for parenthesized text that spans across newline characters.

    note: mine used [udf] as the header, because I was in an unnamed UDL. If you follow my instructions above, yours will have [YourUdlNameHere] instead.

  • Default User Defined Language ?

    7
    0 Votes
    7 Posts
    3k Views
    Bobbster LobsterB

    Very old thread, but little hack-around I found. Suppose you want .md to be the default extension (and assuming your current default language is “None (Text)”:

    open langs.xml just add the md extension to the “normal” language, i.e. <Language name="normal" ext="md txt"/>

    Now md will be the default extension!

    By the way thanks @PeterJones for your md UDL!