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++ v8.9.9 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      34
      6 Votes
      34 Posts
      6k Views
      PeterJonesP
      @tm8544 said: There is a regression in Notepad++ 8.9.9. I saw it already in 8.9.8.1, but I could not pinpoint it at that time. “Regression” means a bug introduced in this version that wasn’t present in the previous version. So if you saw it in the previous version, then it’s not a regression, just a bug. Use Compare plugin, diff since last save (Ctrl+Alt+D) This sounds a lot like this report, which the plugin author is now looking into and tracking in that plugin’s issue tracker. Plugin authors are responsible for investigating bugs/crashes that are caused when using features of their plugins, as they are the only ones who can determine whether the problem is on their end or on Notepad++'s end; bugs/crashes in a plugin should be reported directly to the plugin author.
    • donhoD

      Notepad++ release 8.9.9

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      28
      4 Votes
      28 Posts
      5k Views
      donhoD
      @pnedev Cannot reproduce - it works fine for me. Please create an issue on Github & provide all necessary information there, I (& other devs eventually) will try to reproduce according your information.
    • donhoD

      Notepad++ release 8.9.9.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      28
      3 Votes
      28 Posts
      6k Views
      andrecool-68A
      @donho The portable version 8.9.9-8.9.9.1 of Notepad++ creates empty directories C:\Users\Uzzer\AppData\Roaming\Notepad++\plugins\config For example, my old portable version 8.8.5 of Notepad++ does not create such empty directories.
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      229
      7 Votes
      229 Posts
      115k Views
      guy038G
      Hello, @coises and All, Could you enlighten me of a weird behaviour within your two plugins ColumnsPlusPlus and Search++ ? we’ll try to use the (?s)^xyz.+|^abc.+ regex against this text, pasted in a new tab : This is a test abc with some text to see xyz if everything works properly Place the caret at beginning of the 5th line to see Use the Replace All After in Whole Document option => The third last lines are deleted => OK Now, use the Replace All Before in Whole Document option => Message No match found before current position ! Why ? to my mind, the (?s)^xyz.+|^abc.+ regex should have matched the 3 lines : abc with some text to see Of course, if we use, instead, the Replace All in Whole Document option, it does delete these three lines ! A similar behaviour occurs with the ColumnPlusPlus plugin. I use this layout : [image: 1796111675502-35f2aab7-60eb-48cc-be10-7ab68e9458f8-image.jpeg] Place the caret at beginning of the 5th line to see Use the Replace After option => The third last lines are deleted, all the remaining text is colored with the custom style and the message One replacement made is displayed => OK Now, use the Replace Before option => we get the message No match found, with all text still in custom style [image: 1796111704342-34368dea-f211-416d-a596-bf2328335155-image.jpeg] Of course, if we use, instead, the Replace All option it does delete the three lines from string abc Best Regards, guy038 P.S. : See also the end of this post : https://community.notepad-plus-plus.org/post/106889
    • J

      Duplicate context menu entries

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      0 Votes
      9 Posts
      1k Views
      D
      Glad the second reboot held — that fits with what PeterJones described. Windows 11 does not keep these primary-menu entries in the classic HKCR*\shellex registry keys the way Windows 10 did; the “Edit with Notepad++” entry comes from NppShell.dll through a sparse package registration, and Windows caches that registration, so a stale entry can survive an uninstall and reinstall until Explorer and the shell cache are refreshed by a reboot. If it does come back, the thing I would check before reinstalling again is whether two copies of the shell extension are registered — for example a leftover 32-bit install alongside the 64-bit one, or an old install folder still on disk. Re-running the current installer as administrator and toggling the shell extension off and back on, or following the unregister and re-register steps in nppShell issue 79, is usually enough without a full reinstall. And if it returns after a future update, noting whether the Publisher field in the manifest changed would help confirm it is the same known issue rather than a new duplicate.
    • andrecool-68A

      Why do the HTML tag plugin command IDs change with each update of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      5
      0 Votes
      8 Posts
      503 Views
      PeterJonesP
      @andrecool-68 said: If you have the constant IDs of this plugin, everything works perfectly, and when switching the language in Notepad++, the context menu also automatically changes to the Notepad++ language. “if”. But they aren’t. And because there is no way that plugins can guarantee specific commandID for Notepad++ menus, and there’s no way for Notepad++ to assign a “constant” ID, that’s not going to happen. (Notepad++ cannot know how many plugins exist in the world, nor how many menu commands each will use; the plugin interface is public, so anyone could write their own private plugin. So Notepad++ cannot allocate fixed commandIDs. I cannot see a way around that which would work in all circumstances.) If you have a plugin like this whose commands translate, you can put in both the English and the Localized version: <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Перейти к соответствующему тегу" /> <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Find matching tag" /> then whichever localization is picked, that one will be in the menu Or, if you want to stick with just having one commandID-based entry per command, then you will have to live with the fact that the commandID can change when you update a plugin, install a plugin, or possibly even when all you do is update to a new version of Notepad++
    • M

      [Feature Request] : "Distraction Free Mode" using "Borderless" mode instead of "Fullscreen"

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1
      0 Votes
      8 Posts
      694 Views
      M
      @PeterJones said: Your words said “Distraction Free Mode” without “Fullscreen”. “Fullscreen” is the aspect of DFM that covers the full screen. That is true, but to be fair I’ve also immediately clarified what I meant by “Fullscreen” in the first message : ) I’m assuming operates in Fullscreen mode, meaning it tries to always stay on top Not being a programmer, I can only talk about Fullscreen and Borderless by their observed effects in videogames. From videogame options, Fullscreen and Borderless both cover the entire screen, the only difference is Fullscreen behave as “Always On Top” (almost always), and Borderless doesn’t. Thank you for the Macro, it’s much less hassle than having to run that script manually every time, and I really appreciate it ^_^
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      94
      3 Votes
      94 Posts
      101k Views
      guy038G
      Hi, @thomas-knoefel and All, First of all, I’d like to apologize for not congratulating you for this important release, in my previous post ! I confirm that, with your new build, the search does go though all the matches and not only to the first hit of the lines. Nice ! You said in your last post :: A double-click jumps to the hit you click on, and F4 / Shift+F4 go on from there. After a new search, F4 starts with its hits. And in your documentation, you also said : Additionally, three navigation commands are available from the Plugins > MultiReplace menu and can be assigned to custom keyboard shortcuts via Settings > Shortcut Mapper > Plugin Commands: But adding the F4 and Shift + F4 shortcuts for your two commands, Next Search Results and Previous Search Results, via the Shortcut Mapper has the drawback of triggering the message CONFLICT FOUND Could you, like @coises, to insert these shortcuts within your code ? For example, with the Search++ plugin : After you ran the Plugins > Search++ > Search... option, then the Ctrl + F shortcut opens the Search in Files window of the plugin But if you switch to the current document, the Ctrl + F shortcut opens the usual Find dialog Using this way allows simultaneous shortcuts in both plugin and native N++. No need to use the Shortcut Mapper ! You said : The option is now called “Find All, Replace All, Mark: start at cursor”. A (?) next to it says when it applies … In this new build, I did see the (?) indication which shows the calltip Only when 'Wrap around' is off and not for runs over open documents of files. However, I did not see the new mane of the option Find All, Replace All, Mark: start at cursor but still the old name Find: Search from cursor position Note that I downloaded the MultiReplace-Release-x64.zip archive. I don’t know if this matters ! To my mind, the best is to always check this option in MultiReplace > Settings... > Search and Replace dialog. In this case : When the Wrap around option is not checked, process goes from cursor position to end of file When the Wrap around option is checked, process goes from the beginning of current file to its end You can verify this assumption, using the regex (?s)^xyz.+|^abc.+ against this text : This is a test abc with some text to see xyz if everything works properly Place the caret at beginning of the 5th line to see When the Wrap around option is OFF, a Replace All action, with Notepad++ or MultiReplace, deletes the third last lines ONLY When the Wrap around option is ON, a Replace All action, with Notepad++ or MultiReplace, deletes everything from string abc in 1 replacement This clearly shows that the process goes from the very start of file when the Wrap around option is checked ! If the process would have started from current position, then started again from beginning of file, once the end reached, we shoud have gotten the N++ message : Replace All: 2 occurrences were replaced in entire file ( first, using the (?s)^xyz.+ regex and then, using the (?s)^abc.+ regex ) Best Regards, guy038
    • H

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      727 Views
      H
      @PeterJones Forgive me, you’re right. I made a mistake—perhaps my debugging could have been useful, but I just lost my patience (nothing on this damn PC ever works properly; there’s a new problem or annoyance every single day!) In any case, it seems my personal settings had become corrupted; after uninstalling, performing a deep clean, and reinstalling, everything worked as expected—so there’s nothing left to investigate or fix. I apologize for taking up your time unnecessarily. Thanks to everyone.
    • Troglo37T

      Is there a way to find both alphabets, with and without accents, at the same time, when searching?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      15
      0 Votes
      15 Posts
      2k Views
      PeterJonesP
      @DanielCollins said: if you only need it occasionally. In the Find dialog, set Search Mode to Regular expression and write each accented letter as a small character class, for example Rene as R[eéèêë]n[eéèêë] (and add the capital variants at the start if the name can be capitalised). If it’s just occasional then use @coises solution from the very first reply : [[=r=]][[=e=]][[=n=]][[=e=]] … That doesn’t require you to know every possible accented variant, nor need to remember that n can be accented, too, which you forgot. Just manually put the brackets and equals around all the characters.
    • guy038G

      Other thoughts regarding the "ReWrap Text to (Clipboard or 72) width" of the old "TextFX" plugin

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      20
      9
      1 Votes
      20 Posts
      2k Views
      guy038G
      Hello, @coises, I confirm that, if I choose the GDI (most compatible) rendering mode instead of the DirectWrite (default), the spliting action seems to always occur after 78 letters P ! I verified this assumption with, both, the proportional Times New Roman font and the fixed width Consolas font BR guy038
    • Jack SkiJ

      Suggestion: change color on toolbar!

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      359 Views
      L
      I get why you’d want it, but I agree with PeterJones here, plain text just has nowhere to store a colour. What I do instead is use the Style Configurator to set up a theme I like, and for marking bits of text I use the bookmark feature or just add a short comment line. Not the same as coloured text, but it keeps everything in the file itself, which is the whole point of a text editor for me.
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      14
      1 Votes
      14 Posts
      3k Views
      Vitalii DovganV
      @matsnorberg FreeBasic is compiled to a native DLL file, and the code uses “header” files “Notepad_plus_msgs. bi”, “PluginInterface. bi” and “Scintilla. bi” which are partial ports of the corresponding C/C++ headers. So, we have a native dynamic-link library file that follows Notepad++'s and Scintilla’s API, as well as WinAPI. Generally speaking, it should not matter which programming language was used for that. It could be FreePascal, for example. By the way, since FreeBasic uses GCC under the hood, the generated DLL is very close to the one generated from C code :)
    • O

      Search and replace window: tab (to navigate) doesn't work as it used to

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1
      0 Votes
      4 Posts
      416 Views
      PeterJonesP
      @DanielCollins said: It breaks muscle memory … Until the next version arrives, the workaround that works for me is to press Tab twice to get from Find to Replace, That’s rather the point of “breaks muscle memory”. They already figured out they had to hit Tab twice, which is why they came to ask about it. One thing I would add: the checkbox Olli circled has no visible label even when the dialog is widened, so even when you land on it on purpose you cannot tell what you are toggling. Hopefully the reordering fixes that too, or the label comes back. there is nothing to “come back”. There was never a label, because that checkbox is brand new to v8.9.9.1. And it won’t ever get a label, because the Find/Replace dialog is too cluttered already, so like the checkboxes next to the FIND and REPLACE and REPLACE ALL IN ALL OPENED DOCUMENTS buttons, there is no label and never will be; instead, the user is supposed to hover over the checkbox, where the hover text explains what the checkbox does. Or to read the manual, which describes all those checkboxes.
    • F

      [New Plugin] XML Tree – FOXE-style XML tree panel

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      2 Votes
      4 Posts
      394 Views
      Mark OlsonM
      @falconefasto Haven’t had a chance to play around with it yet, but I’m the maintainer for JsonTools so I’ve spent a lot of time thinking about and dealing with the various pitfalls that can occur with a tree view of the sort you’re describing. Some thoughts: Does the treenode position work properly when the document contains multi-byte characters? JsonTools parses the document as a UTF-16 string but Notepad++ buffer positions generally assume the document is UTF-8 encoded, so the parser has to take this into account when assigning positions to JSON nodes. Lazy loading is a great idea, but how do you handle a treenode with a lot of direct children? In JsonTools I have a configurable setting for how many direct children a tree node can have, which I arbitrarily defaulted to 10,000. Otherwise the tree can cause NPP to hang even with lazy loading. A context menu that appears when you right-click a tree node seems like a good idea. Off the top of my head, maybe have the options be: select the start tag snap to end tag select the inner XML copy attributes to clipboard recursively expand/collapse all subtrees I can’t give any advice on implementation, since I’ve written all my plugins in C#.
    • F

      Where does "Split Lines" actually split?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu lines columns text
      8
      0 Votes
      8 Posts
      2k Views
      D
      Thanks pbarney, that clears up the part that always confused me too — I had assumed the split used the first edge in the list, not the last number typed in the field. One practical tip from my own use: if there is no space near the split column, Split Lines can break in the middle of a word, so I usually pick the edge based on the text I am editing rather than leaving several edges set. And if a split lands in an awkward spot, Ctrl+J (Join Lines) puts it back quickly, so it is easy to undo and try a different edge setting.
    • R

      No plugin admin since last update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      500 Views
      R
      @PeterJones No block boxes, and all files have read/execute allowed. What I have found is if i install an older version and then work up through the versions to V8.9.9.1 the admin option is there. So all good now but i am none the wiser as to what the iussue was. registry?
    • fml2F

      What is the keyboard shortcut for minimizing/restoring the Find dialog?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      444 Views
      PeterJonesP
      @fml2 said: Oh, I thought each button in each dialogue had a shortcut key… Dialog buttons can have a keyboard accelerator “for free” if the text has an & preceding a character that works. But because that button uses a symbol (that changes) which is not on standard keyboards, that button obviously doesn’t have an accelerator now. As such, extra code would have to be added to give a shortcut rather than accelerator for that button. If that’s something you would like added to the interface, feel free to put in a feature request.
    • S

      Windows 11 constantly crashing when having NP++ installed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      590 Views
      xomxX
      @Sevens99 I guess that it depends on a specific SW (Windows edition, build, libraries, other installed shell context menu handlers) rather than on a different HW. But who knows. It’s a race condition bug, so everything is possible.
    • fml2F

      How to fold while at the closing element?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      514 Views
      rdipardoR
      @fml2 said: Out of interest: is it possible to configure Notepad++ in a way that the folder marks are also displayed at the last element of the structure? The document’s fold structure is determined by the underlying Scintilla editing component. Notepad++ simply visualizes the fold structure. While some alternative styles can be enabled at the application layer, what you’re requesting would require changes to Scintilla.