• Jump List not being added to

    Help wanted · · · – – – · · ·
    9
    1 Votes
    9 Posts
    260 Views
    rednoise0R
    @PeterJones - Yes! It works that way for me, too. That’s the magic bullet - have Windows to add it to the Open With list, which triggers creating the file in AutomaticDestinations\ which will then start collecting file names. I now have my jump list back. Thanks for helping me puzzle this through. I have a few files that I use daily and this makes my work flow much more efficient.
  • 0 Votes
    2 Posts
    63 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.
  • 0 Votes
    2 Posts
    38 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.
  • Notepad++ release 8.9.6.2

    Pinned Announcements
    1
    1 Votes
    1 Posts
    195 Views
    No one has replied
  • DAP client plugin

    Notepad++ & Plugin Development
    9
    3 Votes
    9 Posts
    383 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.
  • Notepad++ release 8.9.6.1

    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.
  • Run - Serurtiy Warming 8.9.6.1

    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
  • 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.
  • Please add automatic file saving to the directory

    Blogs
    9
    0 Votes
    9 Posts
    191 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.
  • 0 Votes
    3 Posts
    77 Views
    EvgenyVenalainenE
    @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
  • 0 Votes
    5 Posts
    381 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.
  • Notepad++ release 8.9.6

    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…
  • Word frequency list

    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
  • Cannot open xml files

    General Discussion
    3
    0 Votes
    3 Posts
    193 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”.
  • Search++: A work in progress

    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.
  • HOW Do You Add Keyboard Shortcuts

    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.
  • 0 Votes
    5 Posts
    294 Views
    rdipardoR
    This issue is one of the most consistently duplicated on the forum, for example: “Highlight HTML and CSS” “CSS comments should be in GREEN” “css formatting not working on embed style sheet…” etc. @peterjones’s initial reply is the correct one. You can also refer to this more detailed explanation regarding the current limitations of Lexilla. For now, a relatively simple way to edit HTML documents with embedded style and script highlighting is to use the tree-sitter plugin. Note that only “light” style themes are currently supported, and you will have to manually download and extract the configuration files to get it working. [image: 1779564282293-npptreesitter-v110.png]
  • 0 Votes
    17 Posts
    919 Views
    AlanRobbo 69A
    Thank You Everyone for your Time and Effort.
  • New useful plugin (Language Selector)

    General Discussion
    4
    1
    2 Votes
    4 Posts
    253 Views
    Abdellah HssA
    GitHub repository: https://github.com/hassaine-abdellah/npp-language-selector PS: I commented the code well so the curious developer can understand how it works.
  • 0 Votes
    3 Posts
    230 Views
    Dev NullD
    @PeterJones Thanks!