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
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      90
      5 Votes
      90 Posts
      10k Views
      guy038G
      Hi, @coises, I re-tested the supposed bug and I simplified the procedure which is necessary to trigger that bug ! If opened, close the Search++ plugin by clicking on the cross, at the far right A Re-open Search++ with the Plugins > Search++ > Search... option B Try to close the Search++ panel by clicking on the cross, at the far right => Nothing happens !? C After some trys, if you move slightly the mouse, you should be able to close the Search++ panel Sometimes, you’ll need to repeat the actions A ato C, up to 5 times consecutively, to trigger that bug. but this event may also occur at the first try ! I also noted that, when the bug occurs, any subsequent left click on the cross does nothing until I move very slightly the mouse, without any clicking, that is enough, then, to close the search++ panel by clicking againg onto the cross icon. Very strange, indeed !? As I suspected that the problem could be an hardware issue with my bluethooth mouse, I disabled it and installed a classical USB mouse, instead. But, unfortunately, results were identical as well as the uncertainty regarding the manifestation of the bug ! I have different portable versions of Notepad++, but the one which is concerned is the v8.9 release where I installed, both, your Columns++ and Search++ plugins Here is my Debug info : Notepad++ v8.9 (64-bit) Build time: Jan 10 2026 - 02:25:19 Scintilla/Lexilla included: 5.5.8/5.4.6 Boost Regex included: 1_90 pugixml included: 1.15 nlohmann JSON included: 3.12.0 Path: D:\890_x64\Notepad++.exe Command Line: Admin mode: OFF Local Conf mode: ON Cloud Config: OFF Periodic Backup: OFF Placeholders: OFF Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1) Multi-instance Mode: monoInst asNotepad: OFF File Status Auto-Detection: cdEnabledNew (for current file/tab only) Dark Mode: OFF Display Info: primary monitor: 1920x1080, scaling 125% visible monitors count: 1 installed Display Class adapters: 0001: Description - Intel(R) Iris(R) Xe Graphics 0001: DriverVersion - 32.0.101.7084 OS Name: Windows 11 Pro (64-bit) OS Version: 25H2 OS Build: 26200.7462 Current ANSI codepage: 1252 Plugins: mimeTools (3.1) NppConverter (4.7) NppExport (0.4) ComparePlus (2.2) ColumnsPlusPlus (1.3.1) NppUISpy (1.2) MultiReplace (4.6.0.33) Marginalize (1) Search++ (0.5.5) Finally, note that this portable version of N++ is installed on an USB drive Best Regards, guy038
    • Louis WindsorL

      Facilities to create PostScript hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      13
      0 Votes
      13 Posts
      292 Views
      PeterJonesP
      Sorry! It is NOT that I refuse to help you. It is mostly I don’t know how… I asked for screenshots (a normal function of Windows, which I assumed you would know how to grab). I asked for the Debug Info (I told you what menu to go into to get it). You provided neither. Also, I thought telling you that NOTHING showed in " -> Configuration" was self evident and DIDN’T need a screen snapshot? The screenshot would have confirmed: 1) that there really was “nothing” there (maybe you and I have a different definition of “nothing”), 2) whether you had really selected “user scripts” or had selected “machine scripts”, and 3) that you were willing to follow instructions to try to get help. I’m happy to announce I’ve fixed it!!! Don’t ask me how but my WHOLE NP++ setup was weird!!! It seemed half in Program Files and half in AppData. That’s not weird. That’s how Notepad++ and PythonScript are intentionally set up. The FAQ footnote that I’ve begged you to read explains why there are the two different script locations. In fiddling around I copied the PythonScript directory from Program Files into AppData and TaDa! Everything fell into place… EVERYTHING WORKED like clockwork! You thus copied way too much. You could have copied just the scripts. Or you could have just clicked the “machine scripts” button in the dialog, like I told you to, and not had to copy any files. THANK YOU for your responses and help. Glad you’ve got it working.
    • Ricardo BarrosoR

      Search & Replace help "Swap numbers in middle of code"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      608 Views
      guy038G
      ello, @ricardo-barroso, @peterjones, @terry-r and All, An other S/R could be : FIND (?-i)RequiredItem.+, \K\d+ REPLACE 0 The search regex means : First, find a string RequiredItem, with that exact case because of the leading part (?-i) Then find any NON-zero number of chars ( .+ ) till a comma followed with a space char Now, forget anything matched so far, due to the \K syntax And just match a non-zero list of digits ( \d+ ), which come next Finally, replace that number by 0 Remark : You must do a global S/R, using the Replace All button. Due to the \K syntax a step by step replacement, with the Replace button, would not work ! Best Regards, guy038
    • donhoD

      Notepad++ release 8.9.4

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      9
      3 Votes
      9 Posts
      5k Views
      donhoD
      @xomx said in Notepad++ release 8.9.4: @donho said in Notepad++ release 8.9.4: Add NPP_LANG property to install a specific localization file for MSI. (Fix issue reported in comment ) As is correctly noted in this GitHub comment, the lang info should be stored into Registry HKLM and not into HKCU. Fixed by: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/09e50bad56c493a6dfd2d034d288b5271a656d96
    • Yellow FolderzipY

      Code Folding: Don't include the closing brace in the folded text for UDL or existing language

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      1 Votes
      9 Posts
      422 Views
      Yellow FolderzipY
      @PeterJones Ah yah, I understand now. I suppose this is a fine solution, so thank you for that. This still requires some finesse to get in front of the 1st column versus just click+dragging inside the margin, but definitely better than before. 😎
    • arnaud deretteA

      Terminal window in a N++ tab

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      594 Views
      PeterJonesP
      @arnaud-derette said in Terminal window in a N++ tab: i think i get it : It does not handle correctly 4K screen. That does not surprise me. Notepad++ is still not great for high-DPI environments, and it’s been taking a long time to finish some of the last-remaining high-DPI issues. And if the main app, with lots of contributors, still has issues, then it should come as no surprise that the plugins, which usually only have one developer (if they remain interested), whose skillset usually focuses on the feature that their plugin implements, rather than on the generics of all the edge cases of modern win32 coding. (At least, I know that’s true for me on my plugin(s).) I don’t have a High-DPI environment, so I don’t know and can’t test for you, but maybe the NppExec plugin handles high-DPI better than NppConsole does (whether the original, or the intermediate fork)
    • S

      autoupdater and XMLDSig

      Watching Ignoring Scheduled Pinned Locked Moved Security
      7
      0 Votes
      7 Posts
      502 Views
      S
      I have checked out the https://github.com/donho/xmlSigner project and it is what I needed. I have used that project to correctly pass the XML signing test. I have opened some issues with that project. Here is a quick summary of how the update process works. The wingup code first queries a website to determine if an update is required and the returned XML provides information to be used later. None of the information in the XML is used if it doesn’t pass the XML security check. After passing the security check the code looks for the update status and download location, assuming an update is required. After prompting the user to download the update and finishing the download, it checks the code signing of the installer. Assuming that the code signing is valid and the correct certificate, it starts the install. I will try to document all the customizations to the code from Notepad++, wingup and xmlSigner to make it work in my project so that future users have a place to start, but that will be after I am sure its all working correctly with the new security updates. Thank you @xomx for pointing me in the right direction.
    • O

      Cannot open text files in Adminitrative mode from network shares in Win11

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      1
      0 Votes
      7 Posts
      440 Views
      xomxX
      @Olyfant22 There really are substantial differences in between the Win10 & Win11 in this area. I know about 2: SMB signing enforcement in 24H2+ and stricter token isolation (the later one should be solvable by that mentioned “EnableLinkedConnections”)
    • Ronald BesdanskyR

      Line number issues

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · line number
      7
      0 Votes
      7 Posts
      429 Views
      Ronald BesdanskyR
      @Ronald-Besdansky Hi Terry Deleting that plugin fixed the issue. Thanks.
    • I

      Hopefully Notepad++ can display correctly ...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      -3 Votes
      6 Posts
      347 Views
      CoisesC
      @Samir-Sumantlal-Shah said in Hopefully Notepad++ can display correctly ...: GujaratiMT Searching suggests that “Gujarati MT” is a Apple system font that is not available elsewhere. Are you by any chance using the new MacOS port of Notepad++? That port is not maintained or endorsed by the creator of Notepad++. You would have to raise issues with it in its own repository. We’re not going have a clue here.
    • donhoD

      Notepad++ release 8.9.3

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      12
      7 Votes
      12 Posts
      9k Views
      donhoD
      @hknet said in Notepad++ release 8.9.3: as usual with a lots of other MSIs we take to the softwareinstallation in the GPO editor, then select “new - package”, select the current npp.8.9.3.Installer.x64.msi file from our GPO deployment path, open it, then select to deploy the package in a customized version (German: Erweitert), but tried all three options in the meantime, all end with the GPO editor reporting that adding the package to the GPO went wrong because the deploymentinformation can not be read (from the package) and we should check if we got the correct softwarepackage… It’s likely that Windows has placed a “Zone.Identifier” alternate data stream on it, marking it as untrusted. If not, please check the network share where npp.8.9.3.Installer.x64.msi is stored has Read permissions for both “Domain Computers” and “Authenticated Users” (or at least your specific admin account).
    • Alain SavardA

      New feature: Allow additional line on each search results

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      264 Views
      CoisesC
      @Alan-Kilborn said in New feature: Allow additional line on each search results: @Coises I can’t tell if you’ve considered this, but one way to do it would be in conjunction with hiding lines. You could hide lines that don’t meet the criterion of -M through +N, where M would be a user-chosen number of lines before the hit, and N a user-selected count of lines after the search match. At first thought, I believe that would be significantly easier to implement than doing it in the search results window. As a plus, it (or a close approximation) could even be available after the search with something like an “expand visible blocks” command. The downside is that Show commands only work on the current document; you can’t show in all open documents (and it wouldn’t even make sense for find in files, whenever I finally get that done). At present, my use of hidden lines (using Scintilla’s function directly) and Notepad++’s way of doing it (keeping its own internal table, inaccessible to plugins, of what ranges are hidden) are at odds with one another, which causes any changes my plugin has made to hidden lines to be lost when any other tab is switched into the view. Thus far, I have not been able to devise any solution to this.
    • U

      Very small problem

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      3
      0 Votes
      5 Posts
      226 Views
      U
      @Uwo222777 Of course, the program itself should return the encoding to its original form, but… it doesn’t do this.
    • guy038G

      Enhancement of the COLUMN EDITOR feature

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      311 Views
      guy038G
      Hi, @alan-kilborn and All, Of course, I could use your method to achieve my goal but that is just the reason why I wanted this enhancement which should avoid any further operation !! BTW, this idea occured to me while I was writing this other post : https://community.notepad-plus-plus.org/topic/27511/surprising-regular-expression In the meanwhile, I’ve found out a nice work-around to realize that goal ! Let’s imagine that you want to do a list of 743 empty lines exactly ( I chose that number as it’s a prime number ). Then : Open a new tab Within N++ Hit the Enter key just once Open the Replace dialog ( Ctrl + H ) Uncheck all box options Check the Wrap around option ONLY Select the Regular expression search mode FIND \R REPLACE $0$0 Click 10 times on the Replace All button => You should get a total of 1,025 lines ( Note that, after each replacement N, the number of lines increases to the value 2 × N + 1 ) The trick is to repeat the process up to the first number which is greater than 743 ! Now, open the Search > Go to... option ( Ctrl + G ) Search for the line 744 ( so 743 + 1 ) Then, select to the very end of file with the Ctrl + Shift + End shortcut And finally, hit the Delete key => It should remain the expected 743 lines ! I readily admit that all the different tasks of my work-around do not take long. However, I still think that a new field Total insertion number, in the Column Editor dialog, filled with the value 743, would have been more elegant and straightforward ! Best Regards, guy038
    • C

      Libcurl in update is version 8.15.0, which is flagged with CVE-2025-14819 / CVE-2025-14017, but the GUP uses version 8.19.0?

      Watching Ignoring Scheduled Pinned Locked Moved Security
      5
      0 Votes
      5 Posts
      476 Views
      donhoD
      @xomx Thank you for pinging! https://github.com/notepad-plus-plus/notepad-plus-plus/commit/2c1abe0784543e78dbba0f259b0948cf3a08b8cb
    • Barry RodgersB

      Unable To Save To OneDrive Folder

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      338 Views
      mathlete2M
      I also find that OneDrive folders aren’t always turned on when you first log in/start up; that’s why I preferred using network drives over OneDrive. When you first open a OneDrive folder in File Explorer, there should be a button somewhere that toggles the drive.
    • S

      PythonScript: "New Script" not shown

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      15
      0 Votes
      15 Posts
      1k Views
      Alan KilbornA
      @snafu423 said: since I use the “real” portable version it all works fine And this is the key point of this entire thread!
    • pbarneyP

      Virtual Key Codes Update

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1 Votes
      4 Posts
      325 Views
      pbarneyP
      @PeterJones Thanks for the quick update to the manual! Maintaining technical documentation across versions is a major undertaking when there’s an integrated development team within major corporations; I can’t imagine how herculean that job must be when you’re not side-by-side with a lone developer, so thank you for the excellent work on it. I really do appreciate your speedy response and update. I tried to post the second part of my list yesterday, but I was delayed by the “time between posts” counter, and unfortunately had to leave before it reset. However, you might want to double check your list against the FAQ, to let us know if the FAQ is missing any. I’ll go ahead and do that. Thanks again!
    • Giuseppe Aiosa 0G

      View only searched lines

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      294 Views
      CoisesC
      @Giuseppe-Aiosa-0 said in View only searched lines: is there any function or existing plugin to view/extract only those line which match the tezt search? If you like to experiment, I am working on a plugin for search which includes a Show command that hides all lines and then shows just the ones with matches. It’s still a work in progress, but everyone is welcome to try it and offer bug reports, suggestions and complaints. See this thread for ongoing discussion; go here to find the latest version.
    • ModelsRUsM

      missing config.xml file?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      153 Views
      ModelsRUsM
      Thank you Peter. Makes perfect sense. Much appreciated!