• Find & Replace & Mark re-organization proposal

    General Discussion
    18
    8
    0 Votes
    18 Posts
    250 Views
    CoisesC
    @shodanx2 said: There is a single thread solution to make this work. You call the count algorithm but every 4 or 8 millisecond you call whatever the equivalent of DoEvents is in scintilla. Scintilla calls Boost::regex. Boost::regex does not return until it either finds a match, exhausts the input, or trips its internal “this looks like it might be an infinite loop” flag. There is nowhere to put that “DoEvents” call (which wouldn’t be a call to Scintilla, it would be a return from a dialog or window procedure with a zero-length timer set to call the procedure again after Windows updates). You can (as in my linked example) do a periodic return between one search and the next, but you can’t interrupt a single, long-running search. That’s annoying in my application, but would be fatal as proposed in this dialog.
  • 1 Votes
    7 Posts
    54 Views
    shouldersS
    @PeterJones thanks for the link and information. This is exactly what I wanted. These are some of my notes I put together a while back How to implement Open Source licenses on your software | QuantumWarp So this information will not go to waste, and again thanks for your time.
  • 0 Votes
    5 Posts
    477 Views
    PeterJonesP
    @rspeicher452 , If you’re always on that screen for that laptop, I would recommend changing Settings > Style Configurator > Language: Global Styles > Style: Default Style to use a bigger font size for the text, so that you don’t have to change the zoom. (The “zoom” feature was designed to be temporary, whereas setting the Default Style font size was designed as the perment way to set text size)
  • 0 Votes
    4 Posts
    182 Views
    PeterJonesP
    @deleelee , As I said there, the plugin needs to be fixed and a new version released. It’s not a config file for the end user.
  • DAP client plugin

    Notepad++ & Plugin Development
    16
    3 Votes
    16 Posts
    691 Views
    EkopalypseE
    @PeterJones It all sounded so logical to me when I wrote it, but now that I’m reading it again, I have to agree with you— that wasn’t my best explanation of how this is supposed to work. Thanks for clarifying, and yes, Prefer installed Python libraries and a local Python installation are necessary in this scenario. Regarding sys.path, yes, that makes sense. I should have tested all of this in a sandbox; then I would have noticed how my own setup differs from a standard installation. And yes, the procedure, which is ONLY necessary to debug PythonScript scripts, is that you have one Npp instance, in which the script is debugged—let’s call it instance A—and another, let’s call this instance B, in which the script to be debugged actually runs. So, Instance A starts the debugging session via Plugins->NppDebugger->Start. This results in a new Npp instance B being launched. Now, in Instance B, the script that configures debugpy must be started. This causes debugpy to launch another Python process pydevd which is the real python debugger. This means that NppDebugger, from Npp instance A, waits for debugpy in Npp instance B to start the Python debugger pydevd AND for debugpy to start a TCP server to which NppDebugger can then connect. NppDebugger(tcp client) <-> debugy(tcp server) <-intern-> debugy(tcp client) <-> pydevd(tcp server) As soon as NppDebugger establishes a connection, it begins communicating with debugpy via DAP messages. Is the long-term plan … Yes, ultimately, the plugin should be designed to minimize the need for manual configuration editing. For debuggers that work with compiled source code, such as gdb, delve, lldb, etc., this is usually a project-specific setting and something that a user must set at least once per project. I don’t see how the plugin could figure this out on its own. For PythonScript debugging, a simple variable substitution, as you mentioned, seems sufficient. @Lycan-Thrope said: They have a Trial Version If I find the time, I’ll give it a try… but that might take a while… :) @Lycan-Thrope said: What the heck, … :D - thank you :D
  • Notepad++ release 8.9.6.4

    Pinned Announcements
    2
    2 Votes
    2 Posts
    849 Views
    MarkusBodenseeM
    In contrast to the many critical voices (which may well start up again any moment now), I would like to say thank you—for preserving memory and for standing up against ignorance. Nothing is apolitical—neither music nor software—and it is important to stand up for what is right. This holds true not only for this particular event; unfortunately, both in the past and in the present day, there have been far too many such inhumane events.
  • 0 Votes
    6 Posts
    150 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
    105 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
    175 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
    505 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
    77 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. ;-)
  • 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
    221 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
    372 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
    405 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
    83 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

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

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    102 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
    146 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.