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
      3k 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
      177 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.
    • EkopalypseE

      DAP client plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      3 Votes
      8 Posts
      320 Views
      PeterJonesP
      @rdipardo said: If you have the Rust toolchain installed, there’s a perl-dap binary crate. Hmph. I had been trying to find something in the perl ecosystem to enable DAP for perl. It’s counterintuitive to have to install a 1+ GB Rust toolchain just to connect a Perl debugger to Notepad++. @ekopalypse [asked]](/post/105567): Which debugger did you use? That’s the problem: I couldn’t find any perl-based ones myself; and the free AI I asked tried to get me to use a perl module that didn’t have features/functions/etc that it claimed to have, and when I looked into the documentation of that module, it didn’t mention anything about supporting DAP, so I’m not sure why the AI suggested it at all. I was hoping to be able to try out perl debugging from Notepad++ “for fun”, if this plugin made it easy. But since the ecosystem is providing friction, I probably won’t be continuing down that path. 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. :-)
    • rednoise0R

      Jump List not being added to

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      1 Votes
      7 Posts
      214 Views
      PeterJonesP
      @rednoise0 said: This makes me wonder if you have that file and a working jump list because you have had NPP-64 installed for a while, through several version, Doubtful. In my experiments which led to my previous post, I got Win 11 to successfully add the jump lists for two or three different portable versions of Notepad++ (at least one 32-bit, at least one 64-bit) by doing “Open with” and browsing to the portable executables. When I pinned those to the task bar, their Jump Lists were visible. The Jump list is not working. Furthermore, it is not listed in JumpListsView, and there appears to have been no file created in \AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\ . Remember, Windows OS doesn’t add to Jump Lists unless you are opening the file through Explorer (either by double-click, or by right-click-open-with). It does not add to the Jump List if you File>Open from inside the app. And it doesn’t add to the Jump List if you drag from Explorer into the open app. that there is something about new or recent versions that doesn’t register itself with Windows properly. As far as I can tell, Notepad++ doesn’t actually do any of the fancy “registering” for Windows’ Jump Lists. It just relies on the OS’s built-in jumplist handling. Given that I was able to get multiple separate jumplists for N++, depending on which pinned executable I was OpenWith, I think I’ve confirmed that (since I would think that it would share a jumplist if it’s registered a consistent name). (I’ll probably play at some point with creating a helloworld.exe and pinning it, and see that I can get a jumplist from a brand-new app… but that won’t be until tomorrow at the earliest.)
    • 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
      372 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
      72 Views
      EvgenyVenalainenE
      @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      97
      5 Votes
      97 Posts
      12k Views
      CoisesC
      @guy038 said: First, regarding the bug I mentioned in my two previous posts, I also detect it with native N++ and, for example, the Find Results panel : Thank you for that additional information. I had a suspicion this was a Notepad++ behavior not really related to the plugin. I have not been able to reproduce it. It is possible that it is dependent on some detail of your operating system or drivers. Since you can reproduce it without any plugin, I suggest adding it as a Notepad++ issue if you think it is worth further investigation. It could be that others will be able to reproduce it, perhaps including someone who can run Notepad++ under debug and close in on what is going wrong.
    • Geoff TaylorG

      Run - Serurtiy Warming 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      64 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
      91 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
      123 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
    • CJBlake1C

      Cannot open xml files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      185 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”.
    • submitificS

      HOW Do You Add Keyboard Shortcuts

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      13
      0 Votes
      13 Posts
      5k Views
      PeterJonesP
      @Italian-menu , Why in the world would you think your post helpful? “depending on what you’re using” – of course they are using Notepad++. This is a Notepad++ forum. If you cannot give a human-created Notepad++ -specific answer, don’t bother posting.
    • 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…