• Find & Replace & Mark re-organization proposal

    General Discussion
    10
    8
    0 Votes
    10 Posts
    74 Views
    PeterJonesP
    @shodanx2 said: run the auto-count algorithm in another thread Multi-threaded search has been rejected on the grounds that it breaks other features: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8329 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3562#issuecomment-2242694908 (That might be in just the context of a separate thread for each file searched during multi-file searches… but I believe that other ‘background threading’ of searching has also been rejected, though I cannot immediately find an example.) If your live-count solution relies on one or more new threads, don’t count on it being accepted. I think (but am not sure) that all your suggestions for “timeouts” and the like would also require threads, which would probably make them a no-go as well. On my 156 megabytes file that is 39 milliseconds. normal-search=href is not a complicated regular expression, and thus you have a 39ms strawman there. As I said, I have seem minutes pass while searching. If you haven’t experienced that, be thankful. But understand that freezing other people’s search dialogs for minutes before they can search, just because you want automatic “live” count, is not going to be accepted. (If that auto-count were limited to mode=normal searches, maybe, just maybe, it would be safe enough. But I’m still doubtful.)
  • DAP client plugin

    Notepad++ & Plugin Development
    15
    3 Votes
    15 Posts
    576 Views
    Lycan ThropeL
    @Ekopalypse said: Unfortunately, I don’t know anything about dBase, but if it’s an OLE server, you could definitely control it using the PythonScript plugin—or, if I recall correctly, there was/is also an ActiveX plugin—provided those methods are available. It uses ActiveX objects, but I don’t believe it’s usable by them, hence as far as I know, OLE is the only way, unless I find out otherwise. Will check. Is there a free version of the DBase version you’re using? They have a Trial Version, as far as I know, but the website provider was shut down for awhile under one of those recent supply chain attacks that affected cPanel. I think it’s back up now, though, so you can check it at dBASE.com. In the meantime, I need to find that person causing all these IRL chores and have a talk with them…unfortunately, I suspect if I do start having a conversation with ‘him’, people will view me crazier than they already do. :-) Not me :) And if you find him, give him a good smack from me too :D What the heck, I already have to beat my self up, may as well do it for you, too. :-)
  • 0 Votes
    6 Posts
    118 Views
    tenchyUKT
    @PeterJones Thanks again. I think I’d need to do that myself to learn it fully, bit like you can’t learn to drive from a book… I wish I’d asked about this years ago! I periodically create these files which may start with 2 or 3000 lines and end up with around 1500 lines after exact dupes are removed. I then compare with CTRL ALT C with the compare plugin to the master file which is about 16K lines. I then manually add completely new lines if found to the master file. And any that have the 2 letter in the new file that aren’t in the master file, I add though two letters in to the master. Having these lines in the new file: G7ODA,IO93WS, G7ODA,IO93WS,PE, Does tend to confuse the compare plugin so this will make life easier for me! thanks again
  • 0 Votes
    3 Posts
    86 Views
    Pull_it_allP
    @Em776102 not sure what your use is, for example in termux on android you can use nano. For most quick edits it’s enough I guess… Need something more advanced, use: Acode - code editor | OSS Surely it’s not our beloved notepad++, but quick search may reveal even more alternatives.
  • 6 Votes
    3 Posts
    152 Views
    Lycan ThropeL
    @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]
  • 0 Votes
    16 Posts
    448 Views
    guy038G
    Hello, @pellelin, @mpheath, and All, Oh…, @pellelin, in my previous post, I forgot to mention confidentiality and sensitive information. Of course, I completely understand why you don’t want to send me your summary file! However, if you could send me an example — even a shorter one, with any personal information removed — I’m sure I could find a suitable replacement, using regular expressions ! I only need the text’s formatting / text’s frame, not the words themselves . BR guy038
  • 0 Votes
    2 Posts
    65 Views
    PeterJonesP
    @Taras-Tkachenko , No version of Notepad++ has such a button on the tabs bar. There is one on the far right of the menu bar (beyond the ? menu): [image: 1780441214049-dbd16aed-078a-4380-be71-254794b615fc-image.jpeg] That one can be turned off using Settings > Prefeerences > General, where there’s a setting ☐ Hide right shortcuts + ▼ ✕ from the menu bar – if you checkmark that, and restart, then it will hide those three symbols. Notepad++ never sets that option by default, so maybe you accidentally set it at some point. If it’s checkmarked, just uncheckmark it, and restart, and those three buttons will be back. But, again, Notepad++ doesn’t have a similar button on the tabbar (and never has). You can, however, double-click to the right of the tabs, and it will create a new tab without needing to find the symbol [image: 1780441370585-7b98eeb8-54c3-49c2-bb2c-1ca8c9df8891-image.jpeg] User Manual on related topics: https://npp-user-manual.org/docs/preferences/#general https://npp-user-manual.org/docs/user-interface/#tabs
  • Warning: Spammers are getting better

    Blogs
    11
    5 Votes
    11 Posts
    8k Views
    PeterJonesP
    In a humorous anecdote, I just rejected an AI spam post that titled itself (translated from the original language): “AI Super Student”. If all AI bots would be kind enough to announce themselves as AI, that will make our jobs as moderators so much easier. Thank you. ;-)
  • 0 Votes
    2 Posts
    101 Views
    rdipardoR
    Explained with a proposed fix at https://github.com/ffes/nppsnippets/issues/77#issuecomment-4602799602
  • Notepad++ release 8.9.6.1

    Announcements
    37
    1 Votes
    37 Posts
    5k Views
    fml2F
    @donho no I didn’t, but the last installations worked without problems and I have not done anything in the installation folder. Anyway, the program works now, and I’m apparently the only one who experienced the problem, so no need to investigate it further. Thank you for the time taken!
  • New displaying of the "Search Results" panel

    General Discussion
    2
    1
    0 Votes
    2 Posts
    211 Views
    guy038G
    Hi, All, From the @pellelin’s post, here is an improvement of my previous post : I now added the complete path of each file , followed with a \ character and the file name ! Once any Search Results panel is displayed : Hit the Ctrl + A shortcut Hit the Ctrl + C shortcut Open a new tab ( Ctrl + N ) Paste the Search Results contents in this new tab ( Ctrl + V ) Run the option Edit > Line operations > Reverse line order ( IMPORTANT ) Now, open the Replace dialog ( Ctrl + H ) Uncheck all box options FIND (?-si)^\tLine\x20+(\d+)(?=(?s:.+?)^\x20\x20(\u:.*\\.+)(?=\x20\())|^\x20\x20\u.+\R REPLACE ?2\2\t\1\t Check the Wrap around option Select the Regular expression search mode Click on the Replace All button Now, re-run the Edit > Line operations > Reverse line order option ( IMPORTANT ) Finally, save this new tab for future study within N++ or Excel ! Now, @pellelin, if you don’t have already the Columns++ plugin installed in your configuration, I kindly advice you to install it ! After installation of this plugin, close and re-open Notepad++ First, run the Plugins > Columns++ > Elastic tabstops option Then run the Plugins > Columns++ > Convert tabs to spaces option Now, in order to right-aligned the line numbers, do the following regex replacement : FIND (\d+)(\x20*)(?=\x20:\x20) REPLACE \2\1 With the same parameters, in the Replace dialog, than above ! For example, I did a search of the word the, whatever its case, in Normal mode, on any .txt file of an USB key Search "the" (77312 hits in 507 files of 590 searched) [Normal] I got an INPUT file of 51,5544 lines for about 10,2 Mb And, after the above process : Reverse line order Regex Replacement Reverse line order Which took 82s, I got an OUTPUT file of 51,047 lines, for about 12,2 Mb, with Complete file path, Line number and Text, all aligned [image: 1780319031552-b25954ec-283c-4b15-9603-bf0d370d3c2d-image.jpeg] Best Regards, guy038 P.S. : In this version, I didn’t report the number of hits. If this information matters too, just ask me about it !
  • 1 Votes
    3 Posts
    366 Views
    Pull_it_allP
    @Abdellah-Hss Hello thanks for this input, I thought I had to provide all system versions in order to be accepted to admin plugin list. Today I’ve added ARM64 version and will fork the admin list to update it asap. Thanks for the feedback I actually didn’t know the way to publish it via official channel. Hopefully once I get through with this process it will make the list and be easier accesible. Edit I’ve just added the plugin to official list on x86, x64 and ARM64. Till the next update you can only install it via dll or bat installer I provided on github.
  • Jump List not being added to

    Help wanted · · · – – – · · ·
    9
    1 Votes
    9 Posts
    381 Views
    rednoise0R
    @PeterJones - Yes! It works that way for me, too. That’s the magic bullet - have Windows to add it to the Open With list, which triggers creating the file in AutomaticDestinations\ which will then start collecting file names. I now have my jump list back. Thanks for helping me puzzle this through. I have a few files that I use daily and this makes my work flow much more efficient.
  • 0 Votes
    2 Posts
    70 Views
    PeterJonesP
    @jabcreations said: The only “people” using 800x600 these days are bots. That’s an absurd exaggeration. Whether or not there’s anyone on 800x600, there are plenty of people still using 1920x1080 monitors. (In case you don’t believe me, per April 2026 Steam HW/SW survey, more than 50% of Steam users are running at 1920x1080. So it’s still reasonable behavior for more than half of users – and that’s skewed toward gamers, who are more likely to have “fancy” tech; I am confident that in general, even higher percentage is still using 1920x1080.) Did I miss something or does this need to be a feature request? Could it be improved for 4K users? Likely (I’ve never used a 4K monitor, so I have no experience). There’s a long-open set of 4K issues in the official tracker, and it wouldn’t surprise me if this were already one of the open issues remaining… You might want to search the 4K issues in the repo to see if it already exists. But in the meantime, what’s your OS display scaling set to. Normally, with 4K, it’s somewhere in the 150% to 200%, IIRC from other posts. But if you’re at 100%, then of course GUI elements will be tiny.
  • Notepad++ release 8.9.6.2

    Pinned Announcements
    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • Run - Serurtiy Warming 8.9.6.1

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    97 Views
    PeterJonesP
    @Geoff-Taylor , That is the effect of one of the “security fixes” that prompted v8.9.6.1’s existence. See my reply to see more of the implications of the security changes, and note the discussion it spawned
  • 0 Votes
    2 Posts
    143 Views
    PeterJonesP
    @Bernard said: this is to request feature id est Folder Workspace responds to clicks on line containing file name if the click is on blank area beyond end of file name . Interesting idea. I see no harm in asking for it. However, this is the Community of Notepad++ users. Our feature request FAQ explains the process for checking for existing requests and adding a new request if it doesn’t already exist.
  • Please add automatic file saving to the directory

    Blogs
    9
    0 Votes
    9 Posts
    273 Views
    Sergey SS
    @PeterJones said: Notepad++ copies the current contents of the file on disk Yes, function “Backup on save” does exactly that, it’s not suitable. I need to save the current version of an open document. I will use third-party software to save a copy of the file on external flash disk to the specified directory on the PC. Writing plugins for Notepad++ is very interesting, but there is absolutely no time for it. Thank you.
  • 0 Votes
    3 Posts
    109 Views
    EvgenyVenalainenE
    @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
  • 0 Votes
    5 Posts
    483 Views
    PeterJonesP
    @smcclosr said: Not 100% user if this version addressed this specific issue, It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive) My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.) but it is resolved for me now. Hopefully it stays that way. Good luck.