Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • donhoD

      Notepad++ release 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      36
      1 Votes
      36 Posts
      4k Views
      donhoD
      @xomx From the scenarios you described, HMAC is not infaillible. However, just because the burglar is cabable of anything does not mean I leave my door unlocked when I leave home. Also you make valid points. The MachineGUID is not a cryptographic secret, and it was never designed to be one. But it’s still better to use the MachineGUID than to rely sorely on sha256 of shortcuts.xml. Not only does HMAC make tempering with shortcuts.xml more difficult, but it also prevents attackers from pre-computing the sha256 value of the factory-default shortcuts.xml. As a result, I believe HMAC is a suitable solution: it prevents the most effortless forms of shortcuts.xml tempering, and under normal circumstances users are not disturbed.
    • Sergey SS

      Please add automatic file saving to the directory

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      9
      0 Votes
      9 Posts
      190 Views
      Sergey SS
      @PeterJones said: Notepad++ copies the current contents of the file on disk Yes, function “Backup on save” does exactly that, it’s not suitable. I need to save the current version of an open document. I will use third-party software to save a copy of the file on external flash disk to the specified directory on the PC. Writing plugins for Notepad++ is very interesting, but there is absolutely no time for it. Thank you.
    • rednoise0R

      Jump List not being added to

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      1 Votes
      8 Posts
      255 Views
      PeterJonesP
      @rednoise0 , I just ran an easy quick experiment: I had a random executable which had never been pinned, never been used for Open With or as the file extension handler (and doesn’t do anything special when used to “open” a file, through blah.exe path\to\file.txt; the source code of that executable is tiny, and does not do any registration of Jump Lists or anything; it is a dead-simple program that has nothing to do with file access). I then dragged it to the taskbar to pin it. Then I right-click on file.txt and did Open With, browsed to the exe that I pinned, and chose “just once”. After doing that, I right-clicked on the pin, and file.txt was in its jumplist. It has nothing to do with “registering” it with the OS. It has nothing to do with whether it’s been there a long time or not. Further, I had a Win10 virtual machine, which had never had a Notepad++ jumplist before. I made sure Notepad++ was pinned, confirmed there was no list; then right clicked on a textfile, chose Open With and browsed to notepad++.exe (64bit), it opened the file with Notepad++, then when I looked at the jumplist, the textfile was listed.
    • EkopalypseE

      DAP client plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      9
      3 Votes
      9 Posts
      381 Views
      EkopalypseE
      @PeterJones said: That’s the problem: I couldn’t find any perl-based ones myself; As for Perl, there’s this project The README file actually states that it doesn’t work on Windows, because there are issues with asynchronous reading from stdin/stout. Hmm… The question is, couldn’t we switch to TCP instead? The transport layer usually only handles reading and writing, and if you abstract that, the rest is already taken care of for LSP and DAP. Though I’ll still pull out the plugin for when I want to single-step through Python… Now if it worked with PythonScript, so I could single-step while debugging N++ automation, I’d have it always enabled… So, if you have any ideas on that, I’m all ears. :-) I haven’t really looked into how debugpy works under the hood yet, but I would guess that you’d have to proceed something like this. NppDebugger launches a second instance of Npp with the desired file. In PythonScripts’ startup.py, debugpy must be loaded and the DAP server started. NppDebugger connects to it and requests that the relevant script be launched. I’ll try this out over the course of the next week.
    • smcclosrS

      Inability to save file to OneDrive with 8.9.6 version of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      380 Views
      PeterJonesP
      @smcclosr said: Not 100% user if this version addressed this specific issue, It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive) My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.) but it is resolved for me now. Hopefully it stays that way. Good luck.
    • EvgenyVenalainenE

      UDL keywords do not work for Cyrillic letters at encoding other than ANSI or UTF

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      3
      0 Votes
      3 Posts
      77 Views
      EvgenyVenalainenE
      @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
    • pellelinP

      How can I do a search that results including/highlights the file name, the folder and the HDD name?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      5
      0 Votes
      2 Posts
      61 Views
      PeterJonesP
      @pellelin , Your vague descriptions of text don’t make it clear to me what your text is actually like. Could you use the ``` notation (from the </> button on the post toolbar) to put some example text? Like ``` [ A ] blah blah blah filename blah blah [ B ] blah blah blah notsamefile blah blah [ WD-40 ] is good for cleaning hardware ``` which will render like [ A ] blah blah blah filename blah blah [ B ] blah blah blah notsamefile blah blah [ WD-40 ] is good for cleaning hardware In the mean time, assuming you wanted to highlight the entire line that includes specific filename, it could be done with: FIND = (?-s)^.*filename.*$ SEARCH MODE = Regular Expression If you actually only want to highlight part of each line, you’re going to have to give example text that reasonably matches your actual data, and then do a screenshot showing which you’d like to highlight given a specific search example.
    • jabcreationsJ

      Increase Fold (Plus/Minus) Code Bracket Size?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      37 Views
      PeterJonesP
      @jabcreations said: The only “people” using 800x600 these days are bots. That’s an absurd exaggeration. Whether or not there’s anyone on 800x600, there are plenty of people still using 1920x1080 monitors. (In case you don’t believe me, per April 2026 Steam HW/SW survey, more than 50% of Steam users are running at 1920x1080. So it’s still reasonable behavior for more than half of users – and that’s skewed toward gamers, who are more likely to have “fancy” tech; I am confident that in general, even higher percentage is still using 1920x1080.) Did I miss something or does this need to be a feature request? Could it be improved for 4K users? Likely (I’ve never used a 4K monitor, so I have no experience). There’s a long-open set of 4K issues in the official tracker, and it wouldn’t surprise me if this were already one of the open issues remaining… You might want to search the 4K issues in the repo to see if it already exists. But in the meantime, what’s your OS display scaling set to. Normally, with 4K, it’s somewhere in the 150% to 200%, IIRC from other posts. But if you’re at 100%, then of course GUI elements will be tiny.
    • Geoff TaylorG

      Run - Serurtiy Warming 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      72 Views
      PeterJonesP
      @Geoff-Taylor , That is the effect of one of the “security fixes” that prompted v8.9.6.1’s existence. See my reply to see more of the implications of the security changes, and note the discussion it spawned
    • BernardB

      Folder in Workspace Click on Line Containing File Name

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      102 Views
      PeterJonesP
      @Bernard said: this is to request feature id est Folder Workspace responds to clicks on line containing file name if the click is on blank area beyond end of file name . Interesting idea. I see no harm in asking for it. However, this is the Community of Notepad++ users. Our feature request FAQ explains the process for checking for existing requests and adding a new request if it doesn’t already exist.
    • guy038G

      Word frequency list

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      2
      0 Votes
      2 Posts
      132 Views
      guy038G
      Hi, All, Second and last post regarding the Word_Frequency macro ! Now, a simple example : Open the change.log file of the last release v8.9.6 Do a stream selection of all the points of the v8.9.6 release, ONLY. So, the lines below : 1. Fix vulnerability (CVE-2026-46710) of v8.9.4 & v8.9.5 installer. 2. Fix x86 installer regression of not showing installation entry in Control Panel's "Unstall a program". 3. Fix x86 installer regression where context menu not installed or uninstalled correctly. 4. Fix UAC prompt display regression (“Notepad++ installer” instead of “Notepad++”) for Notepad++ v8.9.5. 5. Fix incorrect bevaviour when saving dirty read-only files. 6. Fix regression where saving a UDL file removed XML declaration. Run the Word_Frequency macro. You should get, at once, this OUTPUY text : 1 : 1 2 : 1 3 : 1 4 : 2 5 : 3 6 : 1 9 : 3 CVE-2026-46710 : 1 Control : 1 Fix : 6 Notepad : 3 Panel's : 1 UAC : 1 UDL : 1 Unstall : 1 XML : 1 a : 2 bevaviour : 1 context : 1 correctly : 1 declaration : 1 dirty : 1 display : 1 entry : 1 file : 1 files : 1 for : 1 in : 1 incorrect : 1 installation : 1 installed : 1 installer : 4 instead : 1 menu : 1 not : 2 of : 3 or : 1 program : 1 prompt : 1 read-only : 1 regression : 4 removed : 1 saving : 2 showing : 1 uninstalled : 1 v8 : 3 vulnerability : 1 when : 1 where : 2 x86 : 2 If you prefer a ordered list ignoring the case, simply insert the regex replacement, below <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?x-i) \u+" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="\L$0" /> <Action type="3" message="1702" wParam="0" lParam="640" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> Right before the sort line : <Action type="2" message="0" wParam="42059" lParam="0" sParam="" /> Here is the trick to get the right number of occurrences when > 99,999. Search for any remaining ¶ character with the regex ¶+ . Let’s suppose you have this line : the : ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶97371 As the number of consecutive ¶ is 23, the exact of occurrences of the word the is : 23 × 10000 + 97,371 i.e. 327,371 occurrences Remember that the first thing to do, before running the Word_Frequency macro, is to select part or all current file contents ! Best Regards, guy038
    • donhoD

      Notepad++ release 8.9.6.2

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      1 Votes
      1 Posts
      164 Views
      No one has replied
    • donhoD

      Notepad++ release 8.9.6

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      3 Votes
      2 Posts
      2k Views
      PeterJonesP
      @donho , https://community.notepad-plus-plus.org/topic/27545/inability-to-save-file-to-onedrive-with-8.9.6-version-of-notepad indicates that there might be a regression with the ability to save to OneDrive…
    • CJBlake1C

      Cannot open xml files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      191 Views
      PeterJonesP
      @CJBlake1 , Rereading my original response, that came out harsher than I intended. I got interrupted with real life, and had decided to post as-is, before I had a chance to audit my post, so it was too “raw”. What I was really trying to say: I don’t think the specific version of Edge is really relevant to your issue. I am assuming that you used to have XML associated with Notepad++, and then suddenly it wasn’t anymore. Unfortunately, many applications (Edge included) have programmers who think that there software is the only one that matters, and that they should “take back” their favorite filetypes (like XML), regardless of decisions a user has already made. So I’m assuming that some recent update in either Edge itself, or in Windows in general, caused Windows to change (or reset) the default application for the XML filetype. There is nothing that Notepad++ can do to prevent the OS or an overeager application from hijacking the filetype. The best thing you can do in a situation like this is to use the OS tools to re-associate the filetype with the program you want. In Windows 11, the most reliable method for doing that seems to be using the Open With from the right-click menu: right click on an XML file, choose Open With, select Notepad++, and be sure to say, “always use this app from now on”.