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
      154
      6 Votes
      154 Posts
      49k Views
      guy038G
      Hello, @coises and All, Presently, I think we can summarize how your plugin works, using the table, below, on its left part : •=========================•=======================•============================================• •===============•============================== | Actions | Scopes | Extents | | Actions | Default configuration •=========================•=======================•============================================• •===============•============================== | | | | | | | Count | In Selection | N/A | | Find | | ¯¯¯¯¯ | | | | | | •-----------------------•--------------------------------------------• •---------------•------------------------------ | | | | | | | Find All | | Before Caret | | Count | | ¯¯¯¯¯¯¯¯ | | | | | | | In Marked Test | After Caret | •---------------•------------------------------ | | | | | | | Mark | | Everywhere | | Find All | | | | | | | | | In Whole Document | In All Opened Documents | •---------------•------------------------------ | | | | | | | Replace All | | In All Opened Documents of Current View | | Select | | ¯¯¯¯¯¯¯¯¯¯¯ | | | | | •-------------------------•-----------------------•--------------------------------------------• •---------------•------------------------------ | | | | | | | | In Selection | N/A | | Mark | | | | | | | | Select •-----------------------•--------------------------------------------• •---------------•------------------------------ | | | | | | | | In Marked Text | Before Caret | | Show | | | | | | | | | | After Caret | •---------------•------------------------------ | Show | | | | | | | In Whole Document | Everywhere | | Replace | | | | | | | •-------------------------•-----------------------•--------------------------------------------• •---------------•------------------------------ | | | | | | | Find | In Selection | | | Replace All | | ¯¯¯¯ | | Backward ( if Plain text ) | | | | | In Marked Text | | •===============•============================== | | | | | Replace | In Whole Document | Forward | | ¯¯¯¯¯¯¯ | | | •=========================•=======================•============================================• The underlined actions are those which have a button, by default Personally, your concept of a default scope bothers me a little, because it’s hard for me to know, in advance, which actions will be automatically selected by the plugin ! So, I was thinking about a radically different layout : You entirely suppress the default scope functionality. However, I suppose this will affect the Selection section in the settings ! You does not show any symbol on all the buttons, nor use any drop-down list You just show six one-letter buttons and two one-letter button for the replace actions, as below : |F| |C| |A| |S| |M| |H| : Find Count find All Select Mark sHow |R| |A| Replace replace All All these simple-design buttons would open a common dialog box, in which the selected action — one of the eight possible options — would be already selected by default. This dialogue could be based on the table shown above ! Then, you’ll just have to check your present scope and extent choices for the chosen action Optionally a message, summarizing everything that has just been selected, could be displayed Then, this new dialog would end with three buttons : A Define button to attribute a default configuration ( scope and extent ) for the chosen action, without any execution. A Run button to start the chosen action, without any default configuration to apply to And, of course, a Cancel button, or an hit on the ESC key, to dismiss the chosen action IMPORTANT : As we must distinguish a default configuration ( the set of the 3 elements : action, scope and extent ) from the execution of a simple action with ramdom scope and extent, the Define button, introduced above, must record that default configuration, within this dialog. So, when clicking on the Define button, the default configuration, to write in this new dialog, would be : For the Count, Find All, Mark and Replace All actions, one of these 11 messages Count / Find All / Mark / Replace All in Selection Count / Find All / Mark / Replace All in Marked text Count / Find All / Mark / Replace All Before in Marked text Count / Find All / Mark / Replace All After in Marked text Count / Find All / Mark / Replace All in Marked Text in Open Documents Count / Find All / Mark / Replace All in Marked Text in Documents in this View Count / Find All / Mark / Replace All in Whole Document Count / Find All / Mark / Replace All Before in Whole Document Count / Find All / Mark / Replace All After in Whole Document Count / Find All / Mark / Replace All in Open Documents Count / Find All / Mark / Replace All in Documents in this View For the Select and Show actions, one of these 7 messages : Select / Show in Selection Select / Show in Marked text Select / Show Before in Marked text Select / Show After in Marked text Select / Show in Whole Document Select / Show Before in Whole Document Select / Show After in Whole Document For the Find and Replace actions, one of these 6 messages : Find / Replace Forward in Selection Find / Replace Forward in Marked Text Find / Replace Forward in Whole Document Find / Replace Backward in Selection Find / Replace Backward in Marked Text Find / Replace Backward in Whole Document Notes : Of course, you could, in one go, click first on the Define button, then click on the Run button A simple click on any of these eight buttons, would allow to quickly verify their default configurations, as long as you press the Cancel button, right after ! In other words, no more drop-down menus ! Instead, a new configuration dialog to confirm the default scope and extent values of the chosen action AND / OR the execution of the chosen action, with the present options checked in the scope and extent sections There are surely some drawbacks to my proposal ! Anyway, what’s your feeling about this radical change ? Best Regards, guy038
    • donhoD

      Notepad++ Release Candidate v8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      9
      2 Votes
      9 Posts
      486 Views
      donhoD
      @xomx Here’s the old build machine’s state, and it explains why: [image: 1789781198154-031680d6-3a10-46b9-8a5f-912f5710df9c-image.jpeg] However, though I know that it was me who did this modification, I don’t remember why.
    • A

      Problem with inactive/unavailable Plugins Admin on v8.9.8

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      308 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
      6k 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
    • Keith CollyerK

      wireloom in markdown viewers

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      7
      0 Votes
      7 Posts
      389 Views
      rdipardoR
      @Keith-Collyer said: I ended up adding a request to the markdig library here: https://github.com/xoofx/markdig/issues/952 👍
    • A

      How to find posts in my HUGE Master file..

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      100 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…
    • 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
      31 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?
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      81
      3 Votes
      81 Posts
      85k Views
      Thomas KnoefelT
      MultiReplace 6.1 is out and will land in Plugin Admin with the next Notepad++ release. The focus of this release is Replace All in One Pass, running the whole list in a single left-to-right sweep instead of one full pass per entry, together with a reworked Find/Replace in Files and a handful of list and UI improvements. Several new options live under Plugins > MultiReplace > Settings. Download: Latest build Key Features & Improvements Replace All in One Pass: Runs the whole list in a single pass instead of one full Replace All per entry, so results build on each other left to right. With cat → dog and dog → cat, sequential mode turns “cat dog” into “cat cat”, one pass turns it into “dog cat”. Much faster on large documents. Toggle per tab, right-click the list tab. Use Open Documents: Find/Replace in Files can now work on files already open in Notepad++ as the live document, unsaved changes included, instead of the copy on disk. New checkbox in Settings. Skip Binary Files: New option for Find/Replace in Files (on by default), same detection as ripgrep and VS Code. Also adds UTF-16 detection without a BOM, and skipped files are always reported, broken down by reason. CSV Header Rows: Find/Replace now always searches header rows too. “Header rows to exclude” only protects sorting and duplicate detection. Collapse to File List: New Search Results dock option folding every search block down to just file names and hit counts. Ctrl/Shift-click works in the fold margin, same as Notepad++'s own Search Results panel. Library Mode: “Keep list always visible” can now be switched right from the Use List button’s context menu, no detour through Settings. Add New Row: Takes over the dialog’s current search options instead of starting all off. Find/Replace text still starts empty. Duplicate Row Reporting: A list row that exactly duplicates an earlier enabled one is skipped as before, but the status line now tells you how many rows were skipped. [image: 1789296944806-e15a9d23-6db6-4411-a694-d44fc95300e5-image.jpeg] Issues or suggestions: GitHub. Happy replacing!