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
      26
      4 Votes
      26 Posts
      813 Views
      CoisesC

      @guy038 said in Search++: A work in progress:

      You said :

      This does make me think I should probably have an option, perhaps enabled by default, to return focus to the document automatically after a select operation, since wanting to copy is probably the most common reason for using select.

      Yes indeed; this would make sense !

      […]

      BTW, @coises, why didn’t you choose a single shortcut ( I’m thinking about Ctrl + H ) to toggle between the Search++ plugin and the Search++ Results ?

      A few small improvements are in version 0.4:

      Add wide layout for better top/bottom docking. Improve layout handling and make sure non-docking dialogs aren’t sized too small. Add settings (checked by default) to focus the document after Select commands and after Show commands. (See help.) Make behavior of general navigation commands (Ctrl/Ctrl+Shift + H/N/O) more consistent. (See help.)
    • Claudia SvensonC

      How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      163 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)

    • mapsonxM

      Toolbar button names

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      111 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.)

    • Ertan KüçükogluE

      Pascal multi line string highlight

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      885 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.)