• Search++: A work in progress

    Notepad++ & Plugin Development
    36
    4 Votes
    36 Posts
    1k Views
    guy038G

    Hello, @coises,

    You said :

    When the search dialog is narrow (typical if the docking dialog is used and docked to the left or right), the status message can overflow the available space. I added ellipsis to the message and a balloon tip on hover to show the whole message when it overflows.

    Could you share a screenshot that illustrates this behavior as I have not been able, so far, to see any ellipsis char and any ballon tip !

    Now, is this a bug or I did not understand the logic ?

    Let’s suppose this text in a new tab :

    This is a test This is a test This is a test This is a test This is a test This is a test

    Move to this new tab

    Put the caret on the 4th empty line, without selecting anything else ( IMPORTANT )

    Run Plugins> Search++ > Search...

    Select the Plain button

    SEARCH is

    Check the Match case option ONLY

    Click on the mark of the Find All button

    Choose the Select > Select Before in Whole Document or the Select Before option

    => No message and no matches ??

    I was rather expecting the message Selected 6 matches before current position

    Replace the caret on the 4th empty line , without selecting anything else ( IMPORTANT )

    Click on the sign of the Find All button

    Choose the Select > Select After in Whole Document or the Select After option

    => Any is string is matched in entire document

    => Message : Selected 12 matches after selection ??

    I was rather expecting the message Selected 6 matches after current position

    Finally :

    Replace the caret on the 4th empty line , without selecting anything else ( IMPORTANT )

    Click on the sign of the Find All button

    Choose the Select > Select in Whole Document option

    => Any is string is matched in entire document

    => Message : Selected 12 matches

    This time, the results are coherent !

    Now, @coises, to my mind, it would be interesting to change the layout, below :

    Find ▼ Count ▼ Find All ▼ □ Match Case □ Whole word only

    By this one :

    Find ▼ Count ▼ Find All ▼ Select ▼ Mark ▼ Show ▼ □ Match Case □ Whole word only

    In addition, this would give some more default values available for the Select, Mark and Show options ! What are your thoughts on this ?

    A nice thing regarding the Search Mark feature is that you can use the native N++ Mark feature to perform additional actions :

    You may clear all marked text with the Clear all marks button. Of course, you can simply use the Tools > Unmark All Text of Search++

    You can use the Copy Marked Text of the Mark dialog. But, while trying to get a Search++ equivalent behavior, I suspected an other bug :((

    Let’s use this text in a new tab

    This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    Move to this new tab

    Run Plugins> Search++ > Search...

    Select the Regex button

    SEARCH ^.+

    Click on the sign of the Find All button

    Choose the Select > Select in Whole Document option

    => The 4 lines are selected

    Then, in order to mimic the Copy Marked Text button, you just have to do a Ctrl + C action. So OK, so far !

    Now, click anywhere to cancel the selection

    Select this ABCDE string

    Copy in the clipboard with a Ctrl + C action

    Move to the new tab

    Run Plugins> Search++ > Search...

    Select the Regex button

    SEARCH ^.+

    Click on the sign of the Find All button

    Choose the Mark > Mark in Whole Document option

    => The 4 lines are marked

    -Then use the Tools > Marked text → Selections option

    => The 4 lines are ALSO selected

    Run a Ctrl + C action to put this selection in the clipboard

    Then, run a Ctrl + V action => The clipboard wrongly contains the string ABCDE

    So, despite of the Tools > Marked text → Selections action, nothing can be copied !?

    Regarding the marked strings, you probably know that you can go through all of them with the Ctrl + 0 and Ctrl + Shift + 0 shocrtcuts on main keyboard ( Refer to the Search > Jump Up > Find Mark Style and Search > Jump Down > Find Mark Style options )

    And indeed, a Ctrl + 0 action moves to the next marked text, whatever that the mark operation was due to Notepad++ or Search++

    Unfortunately, a Ctrl + Shift+ 0 action does not move to the previous marked text :-(( Could you confirm, @coises ?

    However, note that commands Ctrl + 1 to Ctrl + 5 and Ctrl+ Shift + 1 to Ctrl + Shift + 5, to navigate between marked strings, work as expected if you change the Marked Style in Settings accordingly.

    Last thing :

    In the Tools menu, I noticed that the Unmark All Text button ONLY clears hhe marked text which is presently defined in the Settings dialog

    So, you could, either :

    Add a color to identify which marked text will be cleared

    Simply clears any marked text whatever its style

    Change the single option :

    □ Unmark all text

    in the two options :

    □ Unmark present styled text □ Unmark all styled text

    Best Regards,

    guy038

  • 奸叛国者,必万斩之

    Boycott Notepad++
    5
    -1 Votes
    5 Posts
    1k Views
    Fii ErtF

    @Lycan-Thrope
    我说了事实,但你却恐惧并回避,回复的内容只有你的个人「信仰」而非「事实」。

    你反映我「长篇大论」,但实际我才说了几句?
    如果你的回复是AI生成的,连「基础」事实也不知道,还怎么跟我辩论。

    「长篇大论」那么多废话,你所谓「暴政」也不过你自己为了欺骗与安慰你自己而想像的谎言罢了,你根本不知道世界,甚至你的国家,是什么样子。

    抨击我「长篇大论」,但你说得却比我更多,你何不学好基础逻辑再与人对话。

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

    Boycott Notepad++
    4
    -1 Votes
    4 Posts
    1k Views
    Lycan ThropeL

    @Fii-Ert said in 傻逼软件,傻逼作者,傻逼呆湾人:

    傻逼歹丸郎,大罢免大失败,柯建铭下台了,32比1🥳👍🎉
    只要中国不干涉台湾,我就完全不在乎台湾人民为自己选择何种内部政治体制——除非这种体制遭到了中国的干涉。那样的话,问题就大了。

  • 傻逼软件吧 中文按钮放的什么国旗

    Boycott Notepad++
    23
    0 Votes
    23 Posts
    25k Views
    Fii ErtF

    @donho
    真正荒诞的事实:
    自诩「用真正的中文」,却连法庭直播都不敢。
    选输立法院,心碎崩溃,恼羞成怒,大罢免大便32比0,白费十二亿公帑。自己承认自己是「纳粹」,模仿希特勒组织冲锋队,解散全部在野党。自己贪污怕被人民发现,操纵舆论和司法迫害诬蔑没有贪污的人贪污,只因他是在野党领袖。你们恐惧下次选举,输给在野党。

    反观你所谓「用虚假的中文」,是世界第二大经济体,有法庭直播,有核能发电,AI技术远远胜过台湾。

  • JsonTools v5.5. is live!

    Notepad++ & Plugin Development
    23
    7 Votes
    23 Posts
    23k Views
    Mark OlsonM

    JsonTools v8.5 is now available on the plugin manager for Notepad++ 8.9.3. The main change is that ANSI-encoded documents containing non-ASCII characters can now be parsed correctly.

  • NppCrypt Plugin Not Installing

    Notepad++ & Plugin Development
    8
    0 Votes
    8 Posts
    2k Views
    PeterJonesP

    @Murray-Sobol-1 ,

    The links you pointed to were to the old 2017 pre-Notepad++-7.6 “Plugin Manager” plugin’s plugin-list. (There used to be a plugin which handled installing/uninstalling plugins in Notepad++. In v7.6, that was integrated into the core Notepad++ code, so that Don could make sure that the Plugins Admin always stayed compatible with Notepad++, rather than relying on a third party for such an important feature.) For nearly a decade, https://github.com/notepad-plus-plus/nppPluginList/ has been the home of the official list of plugins that gets shown in Plugins Admin.

    @pierrecoach ,

    More on the disappearance of NppCrypt and its repo can be found in this NppPluginList issue. I won’t re-iterate the details, since you can read them there if you are curiuos. But I will say that it looks like @chcg is going to try to resurrect the plugin from archives of the original source code; but it might take him some time. Until then, I’m not sure that any of the links given have any compiled DLL available. Hopefully, you don’t have any critical data that was encrypted on some other machine, that you need to decrypt with the plugin on this new setup. If you do, let us know… (Actually, if you do: do you also have access to the old machine? If so, you can copy the ...\notepad++\plugins\NppCrypt directory from the installation on that machine, and put it on your new machine.)

  • 0 Votes
    4 Posts
    129 Views
    PeterJonesP

    @Phil-Shearer said in Download Status Page Out of Date:

    I’ll just ignore the report for now and hopefully it will all be good again in a week or two.

    … or you could go to the official download site at https://notepad-plus-plus.org/downloads/v8.9.3/, and get the v8.9.3 installer manually, rather than waiting for it to be triggered for auto-update. But it’s up to you.

  • 0 Votes
    6 Posts
    147 Views
    mpheathM

    @snafu423

    I installed PortableApps v30.3 with Notepad++ v8.9.3 into a virtual machine to test.

    The directory path expected from your Debug Info path for the scripts would be:

    C:\_shared_apps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\scripts

    This is the output from running UserInfo.py from my testing:

    # All paths listed in sys.path: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\lib C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\lib C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\scripts C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\scripts C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\lib\lib-tk C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\python27.zip C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\DLLs C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\lib C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\lib\plat-win C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\lib\lib-tk C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64 C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\lib\site-packages # Can make user dirs: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\lib # Can add user scripts to the path: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\scripts # Can add user startup.py with this path: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\scripts\startup.py # Startup method: Undefined # Can add user libraries for importing to the path: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\Config\PythonScript\lib # Can view documentation in this path: C:\PortableApps\PortableApps\Notepad++Portable\App\Notepad++64\plugins\PythonScript\doc

    Installed PortableApps to C:\PortableApps so the name looks doubled.

    It looks similar with the sub directory paths of the portable Notepad++ from Github.

  • 1 Votes
    1 Posts
    26 Views
    No one has replied
  • Showing EOL characters

    General Discussion
    2
    0 Votes
    2 Posts
    60 Views
    PeterJonesP

    @DougB-MFY ,

    Not exactly, but you might get “close enough”

    With keyboard+mouse, the shift+scrollwheel would allow you to horizontally scroll without clicking (but having to use the scrollwheel isn’t truly “keyboard”) [END] [space] [backspace] seems to work for me, but it introduces a “fake edit” to get it, so that might annoy you

    One of those might be “close enough” for you. But there isn’t a keystroke that does it on its own

  • 0 Votes
    2 Posts
    82 Views
    PeterJonesP

    @Cletos ,

    Depending on what version of Notepad++ you were running, and what’s happened since you last opened Notepad++:

    Exit Notepad++ Use Windows Explorer to go %AppData%\Notepad++ You will have session.xml and hopefully a file called session.xml.inCaseOfCorruption.bak . Rename session.xml to session.after.xml Rename session.xml.inCaseOfCorruption.bak to session.xml

    Depending on the state, and how little you’ve done since you had the problem, and what version of Notepad++ you are running, that backup session might contain the ~100 txt files.

    If not (if there’s no session.xml.inCaseOfCorruption.bak , or if the copy there was written after your session got messed up), there is nothing we can do for you, as the backup session isn’t there. (Hopefully, those 100 txt files were all real files, not new 1 … new 100 with no saved changes ever – if they were, you can look in the backup subdirectory, but again, no guarantees the files are there).

  • 0 Votes
    22 Posts
    37k Views
    PeterJonesP

    As a reminder to all readers of this Topic, the Community Forum is “The Community of users of the Notepad++ text editor”, as it says in the footer of every single page here (emphasis added). As such, this is just users, talking about Notepad++ and helping each other other. Feature Requests are not tracked here. So all of these “I cannot believe it’s still this way” are effectively just complaining to other users; if that’s theraputic to you, fine; but it won’t tell the developer how many people are interested in that feature being implemented, so it’s just spitting in the wind, so to speak.

    We have a FAQ that explains where the Feature Request tracker is. And you could search there (in both open and closed requests) if you want to find the official issue(s) tracking such a request, and see how the developer has responded to such requests, if at all.

  • 0 Votes
    2 Posts
    71 Views
    PeterJonesP

    @Diederik858 said in I don't want grouped files when I open the download folder in Windows 11.:

    When I open the file explorer from Notepad++, I don’t want to have grouped files (day, month, etc.).

    When you open the file explorer from Notepad++, you are being directed into a Windows application, the Explorer. And, as such, it follows the Explorer settings for how any individual directory should look. It is exactly identical to you using Windows’ Win+R key and launching explorer "%UserProfile%\Downloads"

    As such, you would change the Explorer settings for the Download directory the same way you would from any explorer window (Explorer’s Sort > Group By > (None)) – but this isn’t Notepad++ advice, this is general Windows advice; as such, a Notepad++ forum isn’t the best place for further discovering Windows Explorer features.

  • Notepad++ release 8.9.3

    Pinned Announcements
    5
    6 Votes
    5 Posts
    3k Views
    donhoD

    @xomx said in Notepad++ release 8.9.3:

    v8.9.3 (Scintilla) EOL regression: #17920

    Thank you for the heads up.
    It’s indeed a regression, but not a critical one.
    Let’s wait one more week, if no critical regression or issue is reported, the auto-updater will be triggered for the release v8.9.3.

  • Make notrepad++ default

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    231 Views
    mapsonxM

    @PeterJones said in Make notrepad++ default:

    It seems a mixed bag: wanting it as system default, associated with lots of file types, and using the Shell Extension, but not wanting to “install” it. It might help us give you better advice if you explain what parts of the “install” that you are opposed to. Is it just storing the settings in %AppData% that you don’t like? Or is there something else? The installer can install into any directory, not just Program Files; the installer can choose to not use %AppData% (as long as it’s not installed in Program Files); the installer automatically registers the Shell Extension for you.

    Thanks for all the patience and instruction. I studied those data transfer tutorials, and I “think” I got it right. A little complicated because in Portableapps, in some cases there are up to three iterations of the same file in separate locations. So far, it looks and behaves like the Portableapps.

    Is it just storing the settings in %AppData% that you don’t like?

    I know the best way to do things is the install. I like to keep things simple. I have very limited space on my OS partition, so I like to keep things as simple as I can by going portable whenever possible, and locating elsewhere. It also makes things easier if you must do an image restore.

    That said, considering what you have advised, I think I will do the install. and avoid storing the settings in %AppData%.

    After the installation now that I have the working portable version. can I move it to the install directory, mindful of the fact that there will be files in that directory that must retained? Or is it not that simple?

  • 0 Votes
    13 Posts
    825 Views
    guy038G

    Hi, @jak and All,

    Refer to this post :

    https://community.notepad-plus-plus.org/post/105114

    BR

    guy038

  • All the off-topic go here

    Pinned Boycott Notepad++
    5
    3 Votes
    5 Posts
    6k Views
    guy038G

    Hi, @jak, @peterjones, @pnedev, @cennoxX, @phil-pascal and All,

    I’ve just downloaded the free portable version of Compare2lists.exe, from https://vovsoft.com/software/compare-two-lists/

    And I must admit, @jak, that is very easy to get, either :

    The intersection of two lists

    The records wich are in List #1 ONLY

    The records wich are in List #2 ONLY

    The union of two lists ( as I checked the Calculate union of lists in Settings )

    The buttons to remove the duplicate records in List #1 and/or List #2 before clicking on the Compare button, are also useful !

    Best Regards

    guy038

  • 0 Votes
    5 Posts
    270 Views
    PeterJonesP

    @Claudia-Svenson said in How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?:

    This would be a great convenient enhancement feature.

    Natively, there is no such feature (and it’s not likely to happen, IMO).

    Using a plugin, it’s doable. For now, it requires using a not-yet-released version of the EditorConfig plugin, but they are supposedly eventually going to release a new version with all the features/fixes from the last 6 years.

    EditorConfig plugin should be able to handle the charset attribute. But the version available in Plugins Admin is still 6 years old, and does not include that attribute. They merged the PR that implemented charset in 2023, but have not done a release since v0.4.0.0 in 2019. (In October 2025, they put in an Issue to encourage themselves to do a release, but there’s still apparently a showstopper preventing them from moving forward.)

    I just forked their repo, and did a build based on their most recent codebase; I call that “0.4.0.1”, so that there’s something to distinguish it from the official version. For a couple of months from 2026-Mar-30, GitHub should have some artifacts of my v0.4.0.1 build.

    Exit Notepad++ Go to https://github.com/pryrt/npp-editorconfig-plugin/actions/runs/23767310769#artifacts and download the right artifact for your machine (most likely the one ending in --x64). Unzip, and copy the DLL to c:\Program Files\Notepad++\Plugins\NppEditorConfig\NppEditorConfig.dll create .editorconfig file at the top of your document structure (like c:\users\username\.editorconfig), populate it with:root = true [*.bat] charset = utf-8 [*.py] charset = utf-8 [*.txt] charset = utf-8-bom [*.ps1] charset = utf-8-bom The next time you save a file with one of those extensions (as long as it’s in the same folder as the .editorconfig file, or a subdirectory of that folder), it will use the charset indicated when you save the file in Notepad++

    (GitHub will remove those artifacts sometime in the next few months. If EditorConfig hasn’t done an official release since then, and the files are gone, feel free to ping me here, and I can trigger a new build to GitHub)

  • Toolbar button names

    Help wanted · · · – – – · · ·
    5
    0 Votes
    5 Posts
    181 Views
    PeterJonesP

    @mapsonx said in Toolbar button names:

    Settings > Preferences > Backup > ☑ Enable session snapshot and periodic backup

    That setting kinda represents the journey of discovery for me, who, is certainly a novice, and has been reminded regularly of my level of ignorance when it comes to an impressive tool like Notepad++. Obviously, the way manifested itself didn’t make sense to me, never seeing that effect before elsewhere.

    That setting has nothing to do with toolbar buttons. If you just brought this up as an example of things that you didn’t understand but are learning the utility of, fine.

    If you think that this affected your toolbar buttons in any way, shape, or form, you will need to explain what you think changed, and prove to yourself that it does change it by doing screenshots before and after toggling that option (and paste them here if you think it does prove your point).

    since some other text editors do have such a feature.

    What text editors do you think have this feature that you want? What setting in that other text editor do you change to get things to go from “normal” to “what you want”? If you give us that, (including “before” and “after” screenshots) we might be able to figure out what feature it is you really want, and be able to better answer you as to whether or not it can be done in Notepad++.

    (I mentioned screenshots a couple of times. If you use Alt+PrintScreen or the modern Win11 Snipping Tool equivalent, you can just paste the image directly into your reply here, making it simply a matter of Ctrl+V to embed the image. But screenshots showing what it is you want would be really helpful for us to understand you.)

  • Pascal multi line string highlight

    General Discussion
    5
    0 Votes
    5 Posts
    934 Views
    PeterJonesP

    Update: @Ertan-Küçükoglu didn’t post the link here, but had made https://github.com/ScintillaOrg/lexilla/issues/321 to request this feature from Lexilla. Lexilla just merged a PR to add SCE_PAS_MULTILINESTRING styleID=15. Since Lexilla v5.4.8 was just released last week, it’s likely going to be a few weeks to a couple months before v5.4.9 is released to include that feature. But once it is, and once Notepad++ imports the updated Lexilla, then that new style can be added to the Pascal/Delphi definitions in stylers/themes. So hopefully, this will be added to Notepad++ within the next few months.

    (Keep an eye on Notepad++'s Issue #16807 to see when it gets added to the codebase; whatever release happens after that Issue is closed will be the first Notepad++ release to incude the multi-line string highlighting.)