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
      9k 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

    • Ricardo BarrosoR

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

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      491 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
      3k 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 Votes
      9 Posts
      339 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. 😎

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

    • arnaud deretteA

      Terminal window in a N++ tab

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      525 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)

    • O

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

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      389 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
      364 Views
      Ronald BesdanskyR

      @Ronald-Besdansky Hi Terry Deleting that plugin fixed the issue. Thanks.

    • 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).

    • I

      Hopefully Notepad++ can display correctly ...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      -3 Votes
      6 Posts
      246 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.

    • S

      autoupdater and XMLDSig

      Watching Ignoring Scheduled Pinned Locked Moved Security
      6
      0 Votes
      6 Posts
      384 Views
      S

      I will check out donho’s other project xmlSigner as suggested by @xomx and will update this thread with the results.

    • Alain SavardA

      New feature: Allow additional line on each search results

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      191 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
      0 Votes
      5 Posts
      168 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
      262 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
      418 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
      285 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.

    • donhoD

      All the off-topic go here

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      9
      3 Votes
      9 Posts
      7k Views
      guy038G

      Hello, @peterjones and All,

      Peter, in one of your posts, that I cannot seem to find, you mentioned a new feature in Windows 11 Notepad that, by default, allows you to close the application, even if there are unsaved files, similar to Notepad++

      Just in case you have not figured out, on your own, how to change this default behavior ( witch would really surprise me ! ), here is the method :

      Open Microsoft Notepad

      Click on the gear icon, on far right of the Menu bar

      Look for the line When Notepad starts

      Click on the arrow on the far right of this option

      Select the Start new session and discard unsaved changes option

      Close and re-start Notepad

      => The old Notepad behavior should be back with just an untitled tab when starting Microsoft Notepad !

      Best Regards,

      guy038

    • pbarneyP

      Virtual Key Codes Update

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1 Votes
      4 Posts
      286 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
      268 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.

    • ShobanskyS

      Feature request

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      90 Views
      PeterJonesP

      @Shobansky ,

      See my longer answer to you here.

      I’m not sure why you started a new Topic when you were already participating in a Topic about exactly the same thing, and when there was a Topic created 5 days ago that was essentially the same thing. (Also, naming a Topic “feature request” is not helpful to people looking through the titles of the recent posts, because it tells them nothing about the contents of said feature request. Titles should be meaningful if you want meaningful discussion.)

      Also, since I’m not sure you’ve seen it, our new feature FAQ explains that, while we can talk about ideas all we want in this Community of Notepad++ users, it isn’t an official Feature Request until you follow the instructions in that FAQ to post the Feature Request to the official Issues tracker for the project.