• Please Read This Before Posting

    Pinned Locked faq newbie
    1
    4 Votes
    1 Posts
    12k Views
    No one has replied
  • FORUM: Posting Queue

    Pinned
    10
    1
    12 Votes
    10 Posts
    14k Views
    Ivy_PearsonI
    Thanks for the update, Peter. Totally understand the need for a posting queue—spam is getting tricky these days. Hopefully, it won’t take long to get posts approved once you earn reputation!
  • Tab spacing copying from Notepad++ into WordPress

    2
    0 Votes
    2 Posts
    49 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).
  • 1 Votes
    5 Posts
    135 Views
    guy038G
    Hi, @mpheath, @coises and all, @mpheath, I first copied the ORG_LF_ANSI.txt file as Lua_LF_ANSI.txt then I ran your last lua script against this file and the files are almost identical, except in the 3 locations below : [image: 1793099502965-4880d578-51d5-4405-8ec8-a7883a73ba30-image.jpeg] [image: 1793099529811-36b4d4bd-062a-4df3-82fe-ffd2ea034157-image.jpeg] Then I copied again the ORG_LF_ANSI.txt file as Lua_CRLF_UTF-8.txt then I ran your last lua script against this file. This time, there are 5 differences, shown below : [image: 1793099767481-0f7eee6f-9e87-494e-92b1-2ef95fcf4ea5-image.jpeg] [image: 1793099783194-9b5ec0fe-6c19-49b6-91a1-1c52166e7b61-image.jpeg] Thus, as a conclusion, your Lua script is quite correct but the last regex solution : SEARCH (?-s)^(.{1,78})(?:[\x20\r\n]*\z|\x20*\R|\x20+) REPLACE \1\n ( for Unix files ) or \1\r\n ( for Windows files ) Followed with a Trim Trailing Space operation, seems slightly better ! Now, @coises, you said : What is the problem to be solved? Well, I just wanted to point out that, in particular cases, a simple wrapping operation may not give the expected display, from the user’s perspective ! In my opinion, it seems better to use the present @mpheath’s Lua script ( or an equivalent Python one ) or the regex solution above rather than the odd solution provided by the TextFX plugin. Best Regards, guy038 Oh…, I forgot to tell you, @mpheath, that I changed the line : local maxLineLength = 72 By this one : local maxLineLength = 78 For all the tests !
  • PHP Lang: Word vs Keyword

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

    4
    0 Votes
    4 Posts
    465 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.
  • Windows list / Entry for the current tab not visible initially

    5
    2 Votes
    5 Posts
    364 Views
    fml2F
    For the reference: I’ve created https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18554.
  • Cannot Update Plugins

    4
    0 Votes
    4 Posts
    546 Views
    PeterJonesP
    @steeve-wick , That’s almost a direct quote of what I said a month ago. Were you trying to add new information?
  • dark theme preference on main website doesn't work as expected.

    17
    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.
  • What are your favorite Notepad++ features for everyday coding?

    4
    0 Votes
    4 Posts
    254 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.
  • Silent update is way too loud and intrusive

    8
    2
    0 Votes
    8 Posts
    453 Views
    PeterJonesP
    @Nephilimi said: I’m actually curious now, is the general population not using this on their servers? There are only a handful of people who have come to the Community Forum from the “server” perspective – and most of those were coming to say, “why don’t you use installation-toolkit-xyz to make IT’s life easier”, and never really went into detail into how they were deploying to that point. And though it might not meet all the needs, the newer MSI installer (new to v8.8.8 in Nov 2025) seems to have quieted those types of inquiries down. So in the Community, while we get great insight into how individual/personal users use Notepad++, we don’t have much insight into the server-deployed side of things. (In our minds – or, at least in my mind – the “general population” are individual users, not server-based users. I have no clue how the numbers actually pan out between the two user-bases; we just get a individual-user-bias in the Forum.) But my guess is that the server-admins had auto-update turned off when they’d install it: either through pushing a custom config.xml to each user’s %AppData% folder, or through using a doLocalConf or -settingsDir to point to a more central config location (or, once the feature was enabled, bundling their own config.xml in the installation directory, which then gets used as the template for new %AppData%-based config.xml), or through deleting gup.exe in the old days or now using disableNppAutoUpdate.xml in the install directory
  • [FORK] Tangential Discussion about what advice is "on topic"

    35
    1 Votes
    35 Posts
    16k Views
    M
    I think keeping discussions focused on the original topic helps everyone get more useful answers. At the same time, related side discussions can be valuable when they add context or share practical experience. A clear distinction between the main topic and tangential advice makes the community easier to follow.
  • Bold text

    6
    0 Votes
    6 Posts
    2k Views
    M
    Hi everyone, I owe the community an apology. My reply in this thread linked to my own website — that was self-promotional and inappropriate for this forum. The question deserved a straight answer without any link attached. I’m sorry, and it won’t happen again. Thank you to the moderators for keeping this place clean.
  • How come I have two types of fonts in my sentences?

    Locked
    10
    1
    0 Votes
    10 Posts
    3k Views
    PeterJonesP
    Please note: my removal of links above was not to claim that everyone who put in such a link was “spamming” the forum; many of those links helped the original discussion prove a point, and were useful at the time. But what has happened is that bots/spammers keep seeing links to such sites, and trying to spam us with more links. We don’t want to become a link farm, so I have redacted the links, and users who are still curious can perform their own web searches to look for “fancy text generators” to generate the text or “unicode normalization” or “normalize unicode” to undo the fancy text, or use the new Unicode Normalize plugin, discussed here.
  • Vertical tabs with horizontal text?

    14
    1
    0 Votes
    14 Posts
    11k Views
    PeterJonesP
    It looks like @LucaSorvillo took me up on the recommendation: Created new Issue #18496 , so there’s an “open issue” to PR against Created PR#18497 to implement it as a sub-option of the Tab Bar > Behavior > Vertical option
  • LLM contribution policy for Notepad++?

    2
    1 Votes
    2 Posts
    525 Views
    PeterJonesP
    @rdipardo , I got a statement of sorts in regard to this request, specifically, this comment: Using AI to create a PR for an open source project - is it a good thing or a bad thing? I have no judgement on that. For me, the only criterion that matters is whether the merged code will be maintainable in the future. On this point, I have to say that AI-generated PRs (I can usually tell during code review), often do not meet the critera in their current state - but many human devs don’t either.
  • Improving Find in Files performance

    14
    1 Votes
    14 Posts
    1k Views
    Thomas KnoefelT
    Thanks a lot @guy038 for running the whole thing again, this time it didn’t finish in seconds ;-) Nice to see the results panel still usable with almost 10 million hits, even the jump to line 690 in that DLL at the very end. Interesting that walking the whole drive for those 130 PDFs takes almost the entire run, 5m45 of 5m48 for MultiReplace, and it’s the same picture with the other tools. The 4 “not decodable” are most likely UTF-16 files with an odd number of bytes. N++ simply drops the last byte there, the next MultiReplace build will do the same in Find in Files (Replace leaves them alone, writing them back would lose that byte). Speed is next on my list.
  • Feature/improvement suggestion

    2
    0 Votes
    2 Posts
    340 Views
    PeterJonesP
    @Adam-Narkiewicz , (sorry for the slow reply: when I first read your post, I was in the middle of something, and couldn’t go looking for the issues, so I hoped that someone else would reply with similar information. Since no one has, I am doing it now.) Honestly, I believe the bug is in step 5: it shouldn’t do that “check for underlying file existence” when you tell it to Close All (or when just closing one file, as in Issue #11866; or when you tell it to reload a file, as in Issue #18718). The developer tried (per this comment) to find a way around this, but hasn’t found a viable solution yet. After asking whether to keep a file in the editor, Notepad++ closes it no matter what my answer is. For me, since you already said “close all”, I don’t see a problem in Notepad++ closing it. I am not convinced it should’ve asked in the first place. Fortunately, if there are unsaved changes – so if you’ve edited the file, so there are unsaved changes to the file that doesn’t exist anymore – it will interrupt the process and ask you to save it, and when it fails, it stops the process (not the best solution, but better than losing data). So this oddity at least won’t let you lose unsaved changes accidentally when doing Close All for files that have disappeared. So that’s something. asks me whether to keep some deleted files open, but not all That does seem problematic, to me. I guess after doing the single check, it finally believes your request to Close All meant to Close All. In conclusion: Since Issue #11866 exists for the single file-close, I don’t think this needs a separate official issue. I’m glad it’s “not particularly annoying” to you, because it could be a long time (if ever) before a solution can be found.
  • 2 Votes
    3 Posts
    503 Views
    PeterJonesP
    @guy038 , I have also noticed that, recently, the username filter in the advanced search page doesn’t populate usernames. I had thought it might have just been me. I know that @barisusakli from NodeBB occasionally logs in, and they recently updated the forum software for us… maybe that version had a bug, because the admin panel says there’s another version available since they last updated us. Until then, once you make your search, you can edit the URL to set &by=PeterJones to search for my posts (right now, the URL probably has &by= with no value). It’s not as convenient as the drop-down, but it is a workaround.
  • 0 Votes
    6 Posts
    2k Views
    guy038G
    Hello, @Roberts-Rozis, @Peterjones, @dennis-bulgrien, @coises and All, @Coises, I did some tests with my D USB key and with your Search++ plugin and the following generic regexes solve the problem nicely : So, @Roberts-Rozis and @dennis-bulgrien : Select The Plugins > Search++ > Search in Files... option Select your média (C, D, … ) on the left and don’t forget to check the Subfolders option and, possibly, the Hidden files option Select the Reg. exp. option for the Filter : type In the filter box : • For a search of any file, even WITHOUT extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+ • For a search of any file, WITH an extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\..+ • For a search of any file with the EXACT extension 'txt' or 'log' or 'ini', between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\.(?:txt|log|ini)$ You may also add a size and/or a date condition Of course, check your desired search options Finally, click on the Find in Files button IMPORTANT : Replace the letters N and M by true digits, with the condition N <= M. The M value may be missing ! The syntax of these regexes are specific to the Search++ These regexes allow any search in an arborescence, from level N minimum to level M maximum. However : You may search from level 0, if necessary You can go through all the structure with the 0, or the N, syntaxes Note that you can simulate the Search++ filtering mode by using one of the regexes below, directly in Notepad++ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+$ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\..+ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\.(?:txt|log|ini)$ Against the text below, that you’ll paste in a new tab : 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.txt abc\def\ghi\jkl\012.txt abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.ini abc\def\ghi\jkl\012.log abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt LICENSE abc\LICENSE abc\def\LICENSE abc\def\ghi\LICENSE abc\def\ghi\jkl\LICENSE abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\LICENSE You may also try, for example, the cases {0,3} or {0,} or even {4,}. Enjoy ! Best Regards, guy038