• [New Plugin] MultiReplace

    Notepad++ & Plugin Development
    84
    3 Votes
    84 Posts
    91k Views
    Thomas KnoefelT
    Hi @guy038, thanks for testing again! In case you’re curious, here’s roughly what the new loading threads in 6.2 do. As soon as the file list is known, a few worker threads start reading ahead: they open the files, read them, check for binary content and decode the text. The main thread takes the files in list order as soon as each one is ready, puts it into a hidden Scintilla document and searches it. So the hits and their order stay the same, but reading and searching now overlap. On a USB stick MultiReplace uses four threads by default. With a cold cache, as in your test, most of the time goes into waiting for your USB key, and that is where it helps: up to four files are read at the same time, and the search runs while the next ones are still loading. If you want to see what the threads bring on your key: with LoadThreads=0 in the [ReplaceInFiles] section of the INI file, every file is read on the main thread as before (see the README; it takes effect after restarting Notepad++).
  • 1 Votes
    6 Posts
    182 Views
    mpheathM
    @guy038 The Change History markers and indicators should be evaluated also as part of the tests. All green markers in the images is suspiciously odd. Perhaps all of the text was pasted and saved which caused that to occur? With Change History showing what changed, the view of what is better may change.
  • 7 Votes
    24 Posts
    29k Views
    Mark OlsonM
    JsonTools v8.6 is now available for download (it’s not up on the Plugins Admin yet, pending my PR to NppPluginList). Major changes: Fixed potential for Notepad++ to hang or crash due to: RemesPath queries with a for loop over an empty array Maliciously crafted schemasToFnamePatterns.json config file RemesPath queries that generate too-deep JSON (which previously could have caused stack overflow) List of 16 most recently used unique RemesPath queries (stored in config file, accessible by menu command) New control in JSON to CSV form, allowing columns to be listed in the order that they occurred in the first record, rather than in alphabetical order
  • 0 Votes
    2 Posts
    81 Views
    Alan KilbornA
    @Robk-Blue said: indentations perfect to 2 spaces Does this mean that you have Notepad++ set up such that tab characters are visualized as two spaces, or that you aren’t using tab characters at all and simply have Notepad++ directly insert two spaces when you press the Tab key when your caret is in a tab-stop column? If you are inserting tab characters in your Notepad++ document, then copying your text to another program for processing allows that other program to interpret tab characters as it sees fit (which could easily be different from “two spaces” in Wordpress’s default handling). Possible solutions to your “problem” might be to stop using tab characters (if that’s truly what you are doing), or look into adjusting Wordpress’s settings for how to handle tab characters (if it has such settings).
  • PHP Lang: Word vs Keyword

    General Discussion
    3
    0 Votes
    3 Posts
    169 Views
    Laurie StearnL
    @PeterJones Good info on StyleID, thanks.
  • rename files

    General Discussion
    4
    0 Votes
    4 Posts
    471 Views
    S
    Regex is definitely the way to go for this kind of filename cleanup in Notepad++. It’s great how a simple search-and-replace can handle a whole list of filenames at once instead of renaming each one manually. Just make sure to test it on a few files first to avoid any unexpected changes.
  • 2 Votes
    5 Posts
    383 Views
    fml2F
    For the reference: I’ve created https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18554.
  • Notepad++ release 8.9.8.1

    Pinned Announcements
    29
    4 Votes
    29 Posts
    8k Views
    Ilya GinzburgI
    @andrecool-68 for me it’s working: русский english עברית שפה קשה Notepad++ v8.9.8.1 (64-bit) Build time: Sep 24 2026 - 15:34:11 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\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: 1920x1080, scaling 100% visible monitors count: 2 installed Display Class adapters: 0000: Description - Intel® Graphics 0000: DriverVersion - 32.0.101.8991 0001: Description - Microsoft Remote Display Adapter 0001: DriverVersion - 10.0.26100.8521 0003: Description - Microsoft Remote Display Adapter 0003: DriverVersion - 10.0.26100.8737 OS Name: Windows 11 Enterprise (64-bit) OS Version: 26H2 OS Build: 26300.9711 Current ANSI codepage: 1255 Plugins: ComparePlus (3) mimeTools (3.1) NppConverter (4.7) NppExport (0.4)
  • 0 Votes
    2 Posts
    119 Views
    Lycan ThropeL
    @Adam-Harrington , First you can search your Registry file for that phrase E:\Portables\Notepad++.exe %1 or just notepad++ and look for the key/value pairs you find and change them to the new location of your Notepad++ directory. Or search this forum and the FAQ’s list for this information. I searched mine and found it with just “notepad++”
  • 0 Votes
    3 Posts
    133 Views
    PeterJonesP
    same user also posted similar in this issue in comment in #17480
  • 0 Votes
    3 Posts
    72 Views
    PeterJonesP
    same user posted similar in this issue #10923 comment
  • 0 Votes
    3 Posts
    214 Views
    CoisesC
    @rdipardo said: I would point only out that the documented return value of NPPM_GETCURRENTSCINTILLA is not supported by the actual implementation; the FALSE-returning code path contradicts the statement that this API “Returns always True [sic]”. Technically so, though the FALSE value only happens when the caller sends an invalid parameter (LPARAM null, when it should be a pointer to an int). There’s also the additional result value of -1, which is documented, but which a comment in the code says “cannot happen”; the equivalent doesn’t exist in NPPM_GETCURRENTVIEW. What troubled me, though, was that the two calls base their responses on different things. I made some attempt to search the code. As best I could tell, the connection between Notepad_plus::_pEditView and Notepad_plus::_activeView is… haphazard. Even though they sound like they represent the same information in different forms (an integer that represents the main or secondary view as 0 or 1, and a pointer to one of two ScintillaEditView structures that represent the main and secondary views), I can’t “prove” that they always change together. So I cannot be certain that they do not represent different information, used for different purposes. If NPPM_GETCURRENTVIEW were meant merely to supersede the older, clumsier-to-use NPPM_GETCURRENTSCINTILLA, one would expect it to have been based on the same code (if for no other reason, for clarity). I couldn’t find any explanation of why this call was created or what problem it was meant to solve. So I was hoping perhaps someone would know and remember the rationale for the newer call and/or the purposes of the two different variables on which the calls are based, and could tell me either “they’re the same thing, use whichever you like” or “here is the situation in which they can return different results.”
  • 0 Votes
    1 Posts
    93 Views
    No one has replied
  • 3 Votes
    2 Posts
    712 Views
    donhoD
    The RC will be available before October 30. Sorry for the delay.
  • Cannot Update Plugins

    General Discussion
    4
    0 Votes
    4 Posts
    552 Views
    PeterJonesP
    @steeve-wick , That’s almost a direct quote of what I said a month ago. Were you trying to add new information?
  • 0 Votes
    24 Posts
    19k Views
    PeterJonesP
    @Screen-White said: I also contribute to that resource We do not allow links to fancy text generators here: every topic that has any becomes a honeypot for more such links, getting low quality posts that pretend to be responses but are actually just spam advertising. If you have something meaningful to say about Notepad++, feel free. But if you post another link to your fancy text generator website(s), you will be banned for spamming.
  • 2 Votes
    17 Posts
    1k Views
    PeterJonesP
    @Lycan-Thrope said: Did you make the change permanent No. I made an Issue, so Don can fix it. I don’t have write access to the main website. Update: Oh, I see, after I went through the approvals, that @myfancytextgenerator already guessed that mine was just an issue.
  • wireloom in markdown viewers

    Notepad++ & Plugin Development
    9
    0 Votes
    9 Posts
    1k Views
    rdipardoR
    @Keith-Collyer said: Following a comment chain, I ended up adding a request to the markdig library here: https://github.com/xoofx/markdig/issues/952 Just an update for anybody following this thread: the feature request to implement wireloom was rejected by Markdig, the rendering library used by MarkdownPanel; it’s still possible for the plugin to implement the feature independently — without needing the WebView2 runtime — by back-porting a static copy of the wireloom.js module to the obsolete JavaScript standard that Internet Explorer supports; a working example of such a workflow can be found here; in the meantime, Preview HTML can now render Markdown and wireloom in Internet Explorer (version 11 )¹˙: [image: 1792597807908-preview_html_v148_ie11.gif] ¹˙ For Windows 7 users, that means ensuring update KB2841134 is installed, and “View as IE11” has been selected on the plugin menu: [image: 1792597754475-preview_html_win7_ie11_mode.png]
  • 0 Votes
    4 Posts
    259 Views
    PeterJonesP
    @T.I-Digital-Solutions said: I mainly use Notepad++ for working with HTML, checking page source, and making quick edits during SEO tasks, so I was curious about features that could make those jobs easier. With those specifics, then I’d say good plugins to try would be HTML Tag, Preview HTML, and XMLTools. UDL is not useful for HTML, because the HTML lexer that’s built into Notepad++ is better than anything that the simple User Defined Language system can handle. But if you also deal with the server configuration files (like .htaccess files), then the UDL Collection has a UDL available for Htaccess, for example.
  • Save as .md default

    Help wanted · · · – – – · · · markdown
    14
    0 Votes
    14 Posts
    13k Views
    MarkusBodenseeM
    @myfancytextgenerator said: One small caveat worth keeping in mind: this covers the default language of new documents, not the file-type list in the Save As dialogue — the langs.xml tweak described earlier in this thread is still the way to get a dedicated .md entry there. Sorry… but this is just not true. It is implemented even longer, since Aug 2024, than the latest update. See Issue #11096 and PR #15490