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
      156
      6 Votes
      156 Posts
      49k Views
      guy038G
      Hello, @coises, Preamble : What prompted me to suggest another solution is that you seemed really frustrated with how your plugin works, since you said, among other things : What bothers me is that before you click the button, it’s not obvious what the current default scope will be and also : I don’t like any of my ideas. (For that matter, I don’t like my scope and extent icons, either. The arrows are OK, but as for the rest, I tried everything I could come up with and I still think they’re obscure, confusing, ugly and hard to read.) Even though I’ve been using Notepad++ for at least 15 years, I’m just a former retired technician with some knowledge of Unix and Microsoft QBasic. So, if I took the liberty of suggesting another solution, it was solely because of your own dissatisfaction ! Otherwise, I wouldn’t have written this post, since you’re surely better equipped to figure out how to improve your Search++ plugin ! That said, I’ll try to address some of your points. You said : Dialogs are even more of an interruption than menus. It would also defeat the purpose of a docking dialog Now that I think about it, I actually agree with you ! And, indeed, I forgot to consider the Docking dialog ! Now, regarding the mandatory buttons in this new dialog, we could, of course, add a Define and Run button. Then, any of the four buttons Define, Run, Define and Run and Cancel would close that new dialog and run the chosen action if you have clicked on the Run or on the Define and Run button Anyway, as you said, menus seem preferable. However, I still think that a layout with the six buttons Find, Count, Find All, Select, Mark and Show could be easier to use ( Personally, I’m ready to test a forked version, if you think it’s worth it ) This would simplify the number of menus : The Find, Count, and Replace All menus would stay unchanged I would suppress the last Do not jump to next match option, in the Replace menu as well as its sub-menu. To my mind, it’s rather a global way of searching which can be previously chosen in the Tools dialog with the Jump to next match after Replace option ( Ctrl + J ) Thus, a click on the Replace button would just show this menu : ------------------------------------------- Replace Replace backward ------------------------------------------- Replace in Selection Replace in Marked Text Replace in Whole Document ------------------------------------------- Replace Backward in Selection Replace Backward in Marked Text Replace Backward in Whole Documen ------------------------------------------- A click on the new Find All button would only show this menu : ------------------------------------------- Find All Find All in Open Documents Find All in Documents in this View ------------------------------------------- Find All in Selection ------------------------------------------- Find All in Marked Text Find All Before in Marked Text Find All After in Marked Text Find All in Marked Text in Open Documents Find All in Marked Text in this View ------------------------------------------- Find All in Whole Document Find All Before in Whole Document Find All After in Whole Document ------------------------------------------- A click on the Mark button would show this menu : ------------------------------------------- Mark Mark in Open Documents Mark in Documents in this View ------------------------------------------- Mark in Selection ------------------------------------------- Mark in Marked Text Mark Before in Marked Text Mark After in Marked Text Mark in Marked Text in Open Documents Mark in Marked Text in this View ------------------------------------------- Mark in Whole Document Mark Before in Whole Document Mark After in Whole Document ------------------------------------------- A click on the Select button would show this menu : ------------------------------------------- Select ------------------------------------------- Select in Selection ------------------------------------------- Select in Marked text Select Before in Marked text Select After in Marked text ------------------------------------------- Select in Whole Document Select Before in Whole Document Select After in Whole Document ------------------------------------------- A click on the Show button would show this menu : ------------------------------------------- Show ------------------------------------------- Show in Selection ------------------------------------------- Show in Marked Text Show Before in Marked Text Show After in Marked Text ------------------------------------------- Show in Whole Document Show Before in Whole Document Show After in Whole Document ------------------------------------------- You said, at the end of your post : Additionally, in the Settings dialog you can uncheck Default commands automatically search within selections. and Default commands automatically search within marked text. to disable the adaptive mechanism, so that default scope is always Whole Document and even if you select a plain command (Find, Count, etc.) Search++ will never infer anything other than Whole Document. But, even though I unckecked, both, the Default commands automatically search within selections and the Default commands automatically search within marked text options and valid the new settings with the OK button, after selected some text containing ONLY one occurrence of the search, the Count in Selection still give 1 match only and not the totality of the matches of the current file Then, using the Add Selection to Marked Text option to mark all the selection raange ( Ctrl + M ), again, the Count in Marked Text returns 1 match, instead of the totality of the matches. Is this expected or a bug as the scope should be Whole Document ? Best Regards, guy038
    • donhoD

      Notepad++ Release Candidate v8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      12
      2 Votes
      12 Posts
      710 Views
      donhoD
      @xmm852003204 said: Tried the RC this morning. I also don’t see the “Edit with Notepad++” right-click entry after install. Ran the regsvr32 command and hit that exact same DllInstall not found error. Win11 24H2 here. Before installing v8.9.8.1 RC, did you uninstall the old version of Notepad++, or you just install RC on a PC without any Notepad++ installation? Which installer did you use?
    • A

      Problem with inactive/unavailable Plugins Admin on v8.9.8

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      368 Views
      PeterJonesP
      @andrecool-68 said: All the mark of the web looks okay, and all the files are in the right place. I am not sure why it’s not working for you. With a similar installation, but 64-bit, I have no problems with Plugins Admin Admin mode: ON Can you try running not as administrator. That can sometimes mess up permissions, so maybe for some strange reason, your Admin has been denied privilege on one or more of the DLL or EXE files mentioned? installing the 64-bit 8.9.8 on that machine, instead of 32-bit, and see if it behaves the same? confirm that you don’t have this problem with v8.9.7 on the same setup First few experiments on my end: 8.9.8-64bit, non-Admin: my daily driver, and I use Plugins Admin frequently: [image: 1789590084696-dc568790-b6ce-4a3c-aaaa-422d9f5937c8-image.jpeg] 8.9.8-64bit, Admin: [image: 1789589967329-aeeef823-c099-463b-b884-00b51add713b-image.jpeg] 8.9.8-32bit, Not Admin: [image: 1789589989950-e94d8be8-7ade-4530-8536-01033d4d4e35-image.jpeg] 8.9.8-32bit, Admin: [image: 1789590011468-5247e7c8-2097-41fe-ad98-0ed554c34815-image.jpeg] So, so far, on my Win 11 machine, I cannot replicate with 64-bit or 32-bit, admin or no, with the portable (or the installed, for 8.9.8-64) Update Virtual Win 10 machine: Portable 32-bit: Plugins Admin is there, whether normal run or Admin Portable 64-bit: Plugins Admin is there, whether normal run or Admin Installed 64-bit: Plugins Admin is there, whether normal run or Admin Installed 32-bit: Plugins Admin is there, whether normal run or Admin [image: 1789591116798-5959e708-0015-4e87-8f3a-50f4928df7b7-image.jpeg]Notepad++ v8.9.8 (32-bit) Build time: Aug 23 2026 - 17:20:01 Scintilla/Lexilla included: 5.6.6/5.5.3 Boost Regex included: 1_90 pugixml included: 1.16 nlohmann JSON included: 3.12.0 Path: C:\Program Files (x86)\Notepad++\notepad++.exe Command Line: Admin mode: ON Local Conf mode: OFF Cloud Config: OFF WinGUp: present disableNppAutoUpdate.xml: absent Periodic Backup: ON 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: 1024x666, scaling 100% visible monitors count: 1 installed Display Class adapters: 0000: Description - VirtualBox Graphics Adapter (WDDM) 0000: DriverVersion - 7.1.8.18469 OS Name: Windows 10 Home (64-bit) OS Version: 22H2 OS Build: 19045.5854 Current ANSI codepage: 1252 Plugins: mimeTools (3.1) NppConverter (4.7) NppExport (0.4) I tried to get as close to your setup as I possibly can, and I still cannot replicate your problem. If what I have suggested to you to try doesn’t help, then you’ll have to wait for someone else to have some ideas. Good luck,
    • donhoD

      Notepad++ release 8.9.8

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      24
      6 Votes
      24 Posts
      7k Views
      PeterJonesP
      @RoxxiedaPunk said: my Notepad++ isn’t updating to 8.9.8. That’s because it was not triggered for auto-update. The downloads page at https://notepad-plus-plus.org/downloads/ will indicate the most recent auto-update version with “(stable: auto-update triggered)” or similar phrasing. As of today, 8.9.7 is the last triggered version. The manual explains the reason for not immediately triggering a new version for auto-update here: https://npp-user-manual.org/docs/upgrading/#no-new-version-found-safety-delay. In this case, there were some critical fixes needed, hence today’s v8.9.8.1 Release Candidate
    • Roberts RozisR

      Feature Request: Find in Files > In all Subfolders > [nn] levels deep only

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      1k Views
      guy038G
      Hello, @Roberts-Rozis, @Peterjones, @dennis-bulgrien, @coises and All, @Coises, I did some tests with my D USB key and with your Search++ plugin and the following generic regexes solve the problem nicely : So, @Roberts-Rozis and @dennis-bulgrien : Select The Plugins > Search++ > Search in Files... option Select your média (C, D, … ) on the left and don’t forget to check the Subfolders option and, possibly, the Hidden files option Select the Reg. exp. option for the Filter : type In the filter box : • For a search of any file, even WITHOUT extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+ • For a search of any file, WITH an extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\..+ • For a search of any file with the EXACT extension 'txt' or 'log' or 'ini', between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\.(?:txt|log|ini)$ You may also add a size and/or a date condition Of course, check your desired search options Finally, click on the Find in Files button IMPORTANT : Replace the letters N and M by true digits, with the condition N <= M. The M value may be missing ! The syntax of these regexes are specific to the Search++ These regexes allow any search in an arborescence, from level N minimum to level M maximum. However : You may search from level 0, if necessary You can go through all the structure with the 0, or the N, syntaxes Note that you can simulate the Search++ filtering mode by using one of the regexes below, directly in Notepad++ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+$ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\..+ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\.(?:txt|log|ini)$ Against the text below, that you’ll paste in a new tab : 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.txt abc\def\ghi\jkl\012.txt abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.ini abc\def\ghi\jkl\012.log abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt LICENSE abc\LICENSE abc\def\LICENSE abc\def\ghi\LICENSE abc\def\ghi\jkl\LICENSE abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\LICENSE You may also try, for example, the cases {0,3} or {0,} or even {4,}. Enjoy ! Best Regards, guy038
    • A

      How to find posts in my HUGE Master file..

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      107 Views
      PeterJonesP
      @Allinmyhead , Notepad++ has no notion of “post”. It just sees a big blob of text, and tries to apply the search string you give it. If you search for just your username, that’s the only piece that will match. If you use a more complicated regular expression (“regex”), you can define a fancy search that will match more. If you gave more details about what a “post” is formatted in text, we could help you come up with the right regex. For example, if the post is username: blah blah blah [newline][newline], then something like ^username: .*?\R\R would find everything from username: to the two newlines in a row. But Notepad++ is not just going to “hide” everything else, and allow you to look at just that. As you do each Find Next, it will just highlight the entire match. It might be possible, if you gave us examples of what this file would look like, to be able to strip out “posts” that aren’t yours, instead. (Similar to the above, but matching anything but your username at the start of the post). But until you give us example data that matches your formatting, and show which posts you’d like to keep and which to delete, there is no way we could randomly come up with the right regex to help you. Click the </> button in your reply. Put some data in the code-box that creates. Make sure the data matches your actual data, and is formatted exactly the same. Indicate which “posts” you’d like to keep vs delete. Make sure you give us a description of how you, as a human, would recognize where one post starts and ends. Update: it might actually be easier to use the Mark dialog to mark all the username posts, rather than the find/replace to delete the non-username posts. That would allow “copy marked lines”, and then the username-only ones could be pasted in a new file, rather than deleting the non-username posts from the original. But it depends on the shape of the data, and whether you’d prefer to just delete from your old file or create a new one…
    • К

      Авторы мудаки, что за сука Слава Украине, ебанные уроды

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      1
      0 Votes
      1 Posts
      34 Views
      No one has replied
    • A

      Feature/improvement suggestion

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      46 Views
      No one has replied
    • donhoD

      Fake Notepad++ website

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      3 Votes
      4 Posts
      737 Views
      xomxX
      @donho There seems to be another one: notepad-plus-plus . app I reported this too. GH issue: NPP brand impersonation website serving malware #18398
    • FreeMeowF

      Praise Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Praise Notepad++
      3
      1
      3 Votes
      3 Posts
      3k Views
      F
      @Maddox-Armstrong said: @FreeMeow I goon to Notepad++ :P 666还有蜥蜴人
    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      92
      5 Votes
      92 Posts
      185k Views
      F
      作者的大黑几把干的我豪爽。啊啊啊啊啊要去了。
    • 周学习周

      傻逼软件,傻逼作者,傻逼呆湾人

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      7
      -1 Votes
      7 Posts
      5k Views
      F
      坚决维护共产党!任何邪恶中将绳之以法{亥~}。打响时我直接娟500m,掌上永远有这个钱!我要购买鸿星尔克,(不吃白象方便面不健康)直接就是一个练~起~来~曼watkanaisay曼波曼波。我都已经这样了你为什么布顺从我? 正在使用花为18 uitra啊啊啊啊这个这个啊啊啊是吧
    • F

      叮咚鸡叮咚鸡,大狗大狗叫叫叫

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      1
      -1 Votes
      1 Posts
      54 Views
      No one has replied
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      7
      1 Votes
      7 Posts
      1k Views
      Vitalii DovganV
      Here are the latest binaries if you are interested: 32-bit: https://drive.google.com/file/d/1jmKaSU5YF2Hd2mHKAWDZyG4NDfx99Xnc/view?usp=drive_link 64-bit (x86_64): https://drive.google.com/file/d/1mrqNicsfjfJITmrfeHlG2WEzgHZdokI-/view?usp=drive_link
    • R

      SnippetPlus v2.1 released. Snippets, SurroundWith and SurroundWith Multiline plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      1 Votes
      4 Posts
      2k Views
      D
      It never inserts the text at the caret’s position for me: it either moves up a line and/or replaces the existing text. What am I misunderstanding?