• Search++: A work in progress

    Notepad++ & Plugin Development
    173
    7 Votes
    173 Posts
    52k Views
    CoisesC
    @astewart77 said: It works well for me. There are so many permutations, it takes a couple of readings. I look forward to your excellent updated help file. Part of the point of this test version is to figure out if I have too many options, or missing options, or if they can be better organized. There are more details and special cases than I’d like. At the moment this might represent more what could be done than what should be done. I suggest that the “Mark tools” option group title be “Tools menu” to be clear that they are for menu commands and not Mark commands, but that may be covered in the help file. Otherwise, it looks like it contradicts the Mark option just above it. That’s a good point. Somehow it should be clear that this section applies to commands from the Tools menu (and, of course, to their equivalent keyboard shortcuts), but not to the Mark command itself. And I wonder if it is clear that it doesn’t apply when Bookmark lines when marking text isn’t checked. Making this obvious at first glance is not going so well. (I know most people are never going to read the help.) Would the top section be better labeled “Bookmark policy,” or is that just more confusing? Or am I silly to even have the top section, and whenever bookmarks are enabled it should just always be bookmark every line (like Notepad++ native Mark)? I’m similarly unsure if Add bookmarks but do not remove them is pointless. Maybe no one would ever want that. Another question is whether all this belongs in yet another box in the Settings dialog rather than in its own “Configure bookmarks” dialog. Settings is getting big, but if these are “set once and leave them alone” choices, that’s probably where they belong. (I don’t mean the Bookmark lines when marking text menu option; that stays on the menu.)
  • Improving Find in Files performance

    General Discussion
    2
    1 Votes
    2 Posts
    125 Views
    PeterJonesP
    @Vitalii-Dovgan , Even though you just “moved” stuff, it’s a lot of lines of code changed, from the diff perspective, and Don manually reviews all of that. So it’s not an easy one to review. And since you didn’t attach the PR to any open Issue (though I’m sure there must be more than one asking for improved FiF performance), it’s probably a low priority in his mind (and I’m surprised he didn’t reject it out of hand. It might be because it came from you that it wasn’t rejected). I recommend searching out one or more Issues to attach it to. But yes, I do hope it’s able to be merged before there is a conflict.
  • 2 Votes
    3 Posts
    196 Views
    PeterJonesP
    @guy038 , I have also noticed that, recently, the username filter in the advanced search page doesn’t populate usernames. I had thought it might have just been me. I know that @barisusakli from NodeBB occasionally logs in, and they recently updated the forum software for us… maybe that version had a bug, because the admin panel says there’s another version available since they last updated us. Until then, once you make your search, you can edit the URL to set &by=PeterJones to search for my posts (right now, the URL probably has &by= with no value). It’s not as convenient as the drop-down, but it is a workaround.
  • 0 Votes
    2 Posts
    108 Views
    PeterJonesP
    @Bondige-Ramesh , I am sorry you are having difficulty. Assuming you mean “Notepad++”, not “Notepad” (they are two different applications – Notepad++ is what’s discussed in this forum; Microsoft’s notepad.exe is a separate product, and is not the focus of this forum) please share your ?-menu’s Debug Info, so we know what version of Notepad++ you are using, and get some useful information to help us replicate and diagnose your problem please be more specific than saying “suddenly loaded as empty” over and over. If it’s just a matter of you had a file, then accidentally deleted its contents, there is not much we can do to help you: we have a FAQ about backups, which gives a couple places to look, depending on what your Notepad++ backup settings are. But the chances are, now that the file loads empty, you have likely lost your data.
  • 0 Votes
    1 Posts
    57 Views
    No one has replied
  • Notepad++ Release Candidate v8.9.8.1

    Pinned Announcements
    14
    2 Votes
    14 Posts
    1k Views
    S
    @donho Typo: “7 Fix Netork Path Warning dialog usability problem.” --> Network
  • Notepad++ release 8.9.8

    Pinned Announcements
    25
    6 Votes
    25 Posts
    7k Views
    M
    I am seeing an issue that I’m not certain it is the installer of Notepad++ 8.9.8 itself or if Microsoft has inadvertently caused this… Using Microsoft’s Enterprise App Catalog to install 8.9.8 on top of an existing installation of 8.9.6.4 seems to result in the registry information being updated to say 8.9.8 but when you check C:\Program Files\Notepad++\notepad++.exe it is still 8.9.6.4. This was horrifying, as it’s the perfect way to maintain a vulnerable copy of the app on Enterprise systems. It could go completely unknown because, at least on ours, MDM systems seem to inventory based on what the registry says and not what’s on the actual disk. Server OS endpoints updated using the traditional SCCM method appear to update correctly. So, this adds weight to the issue being Microsoft’s Enterprise App Catalog implementation. It is almost as though they are updating the registry on behalf of Notepad++, ignoring the true status of the app.
  • -2 Votes
    1 Posts
    142 Views
    No one has replied
  • Feature/improvement suggestion

    General Discussion
    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • Fake Notepad++ website

    Security
    4
    3 Votes
    4 Posts
    871 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
  • Praise Notepad++

    Praise Notepad++
    3
    1
    3 Votes
    3 Posts
    4k Views
    F
    @Maddox-Armstrong said: @FreeMeow I goon to Notepad++ :P 666还有蜥蜴人
  • You've a lot of reasons to hate Notepad++

    Pinned Boycott Notepad++
    92
    5 Votes
    92 Posts
    185k Views
    F
    作者的大黑几把干的我豪爽。啊啊啊啊啊要去了。
  • 傻逼软件,傻逼作者,傻逼呆湾人

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

    Boycott Notepad++
    1
    -1 Votes
    1 Posts
    91 Views
    No one has replied
  • 0 Votes
    8 Posts
    527 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,
  • [New plugin] Smart Math

    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
  • 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
  • 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?
  • 0 Votes
    2 Posts
    137 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…
  • wireloom in markdown viewers

    Notepad++ & Plugin Development
    7
    0 Votes
    7 Posts
    438 Views
    rdipardoR
    @Keith-Collyer said: I ended up adding a request to the markdig library here: https://github.com/xoofx/markdig/issues/952 👍