• FORUM: Posting Queue

    Pinned
    10
    12 Votes
    10 Posts
    9k 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!

  • Please Read This Before Posting

    Pinned Locked
    1
    4 Votes
    1 Posts
    10k Views
    No one has replied
  • 8.9.4 installation shows error for AppX call

    1
    0 Votes
    1 Posts
    48 Views
    No one has replied
  • Very small problem

    5
    0 Votes
    5 Posts
    56 Views
    U

    @Uwo222777
    Of course, the program itself should return the encoding to its original form, but… it doesn’t do this.

  • Notepad++ 8.9.4 (x86)EXE Upgrade Leaves Duplicate ARP Entry

    Moved
    2
    0 Votes
    2 Posts
    128 Views
    xomxX

    @metaad

    GitHub issue #17979

  • Enhancement of the COLUMN EDITOR feature

    5
    0 Votes
    5 Posts
    158 Views
    guy038G

    Hi, @alan-kilborn and All,

    Of course, I could use your method to achieve my goal but that is just the reason why I wanted this enhancement which should avoid any further operation !!

    BTW, this idea occured to me while I was writing this other post :

    https://community.notepad-plus-plus.org/topic/27511/surprising-regular-expression

    In the meanwhile, I’ve found out a nice work-around to realize that goal ! Let’s imagine that you want to do a list of 743 empty lines exactly ( I chose that number as it’s a prime number ). Then :

    Open a new tab Within N++

    Hit the Enter key just once

    Open the Replace dialog ( Ctrl + H )

    Uncheck all box options

    Check the Wrap around option ONLY

    Select the Regular expression search mode

    FIND \R

    REPLACE $0$0

    Click 10 times on the Replace All button

    => You should get a total of 1,025 lines ( Note that, after each replacement N, the number of lines increases to the value 2 × N + 1 )

    The trick is to repeat the process up to the first number which is greater than 743 !

    Now, open the Search > Go to... option ( Ctrl + G )

    Search for the line 744 ( so 743 + 1 )

    Then, select to the very end of file with the Ctrl + Shift + End shortcut

    And finally, hit the Delete key

    => It should remain the expected 743 lines !

    I readily admit that all the different tasks of my work-around do not take long. However, I still think that a new field Total insertion number, in the Column Editor dialog, filled with the value 743, would have been more elegant and straightforward !

    Best Regards,

    guy038

  • 0 Votes
    2 Posts
    107 Views
    EkopalypseE

    @Rex-Theodore
    You can always use the Run menu to call up the formatters with the current buffer.
    However, since you mentioned that you use Python, you can use the PythonScript plugin and
    trigger an action whenever you receive a NOTIFICATION.FILESAVED.
    If you want more features, you might want to check out Kereds or my LSP client for Notepad++.
    However, this means that the languages you use must have an LSP server.

  • Cannot open text files in Adminitrative mode from network shares in Win11

    7
    0 Votes
    7 Posts
    302 Views
    xomxX

    @Olyfant22

    There really are substantial differences in between the Win10 & Win11 in this area. I know about 2: SMB signing enforcement in 24H2+ and stricter token isolation (the later one should be solvable by that mentioned “EnableLinkedConnections”)

  • The Column count of Zenkaku chr. is 1?

    2
    0 Votes
    2 Posts
    99 Views
    CoisesC

    @Hiroki-H1974 said in The Column count of Zenkaku chr. is 1?:

    So, the position is not the same even if Col: count is same because the line contains some Zenkaku chrs.

    I don’t know Japanese; please forgive me if I’ve missed the point in some way.

    The column (“col:”) in the status bar is just a count of characters from the beginning of the line, starting at one. (That’s not even always what you might expect; combining characters that form a single visible character are still counted separately.)

    Aside from a few things like cursor positioning, line wrapping and selection with the mouse, Notepad++ (like the Scintilla control it uses for editing) doesn’t concern itself with the physical space occupied by characters. In English, we can use a proportional font, and a line of twelve characters will show the next “column” as 13, whether they are IIIIIIIIIIII or WWWWWWWWWWWW.

    So (though I haven’t attempted to test it), regardless of font, I would expect that there would be no recognition of the difference between half-width and full-width characters.

  • Virtual Key Codes Update

    4
    1 Votes
    4 Posts
    221 Views
    pbarneyP

    @PeterJones Thanks for the quick update to the manual! Maintaining technical documentation across versions is a major undertaking when there’s an integrated development team within major corporations; I can’t imagine how herculean that job must be when you’re not side-by-side with a lone developer, so thank you for the excellent work on it. I really do appreciate your speedy response and update.

    I tried to post the second part of my list yesterday, but I was delayed by the “time between posts” counter, and unfortunately had to leave before it reset.

    However, you might want to double check your list against the FAQ, to let us know if the FAQ is missing any.

    I’ll go ahead and do that. Thanks again!

  • Terminal window in a N++ tab

    8
    0 Votes
    8 Posts
    435 Views
    PeterJonesP

    @arnaud-derette said in Terminal window in a N++ tab:

    i think i get it : It does not handle correctly 4K screen.

    That does not surprise me. Notepad++ is still not great for high-DPI environments, and it’s been taking a long time to finish some of the last-remaining high-DPI issues. And if the main app, with lots of contributors, still has issues, then it should come as no surprise that the plugins, which usually only have one developer (if they remain interested), whose skillset usually focuses on the feature that their plugin implements, rather than on the generics of all the edge cases of modern win32 coding. (At least, I know that’s true for me on my plugin(s).)

    I don’t have a High-DPI environment, so I don’t know and can’t test for you, but maybe the NppExec plugin handles high-DPI better than NppConsole does (whether the original, or the intermediate fork)

  • Preview value color RGB, HEX, HSL.

    21
    0 Votes
    21 Posts
    13k Views
    PeterJonesP

    @tauniaxd ,

    I have added the ability to do rgba(0,127,127,0.05)-type colors to the on-demand script at
    https://github.com/pryrt/nppStuff/blob/main/pythonScripts/nppCommunity/21xxx/21044-ColorizeHtmlCssColors.py

    1e6ece19-b4de-4475-b379-0649d96b2d4f-image.png

    If you prefer full underline, then change lines 24 and 26 of the script to use INDICATORSTYLE.PLAIN instead of INDICATORSTYLE.DASH

    aa370073-5db8-4431-b80e-7ffc21b3c61c-image.png

  • 0 Votes
    2 Posts
    98 Views
  • View only searched lines

    4
    0 Votes
    4 Posts
    226 Views
    CoisesC

    @Giuseppe-Aiosa-0 said in View only searched lines:

    is there any function or existing plugin to view/extract only those line which match the tezt search?

    If you like to experiment, I am working on a plugin for search which includes a Show command that hides all lines and then shows just the ones with matches.

    It’s still a work in progress, but everyone is welcome to try it and offer bug reports, suggestions and complaints. See this thread for ongoing discussion; go here to find the latest version.

  • Simple Question: Can I View HTML Tags?

    3
    0 Votes
    3 Posts
    459 Views
    Mister AlexM

    Yes—Notepad++ doesn’t automatically strip HTML, but copying through plain-text mode (like Notepad or Reader View) removes all tags. To retain <p> and <br>, avoid pasting via plain text—either paste directly into Blogger’s HTML view and clean unwanted code manually, or use an HTML cleaner tool to keep only specific tags instead of stripping everything.

  • How to Remove "Edit with Notepad++" from the Right-Click Context Menu

    5
    0 Votes
    5 Posts
    4k Views
    MarkusBodenseeM

    And please don’t forget the easiest solution, just uncheck the option to install the Context Menu Entry during Notepad++ installation.

    5769799f-767f-43f8-9077-4fa41520f267-grafik.png

  • About single and duplicate lines...

    2
    2 Votes
    2 Posts
    520 Views
    Evelyn WalkerE

    @guy038 said in About single and duplicate lines...:

    About single and duplicate lines…
    General Discussion
    1 posts
    1 posters
    225 views

    guy038
    Mar 24, 2026, 8:45 PM

    Hello, All,

    Reading that post made me realize that searching for single or duplicate lines is a very common task. Some time ago, for my personal workflow, I had written a method to solve the main cases ! So, in this post, I’m going to show you, from an original file, how to keep :

    All single lines, ONLY

    All duplicate lines, ONLY

    All single lines and the first copy of all duplicate lines

    All single lines and the last copy of all duplicate lines

    The first copy of all duplicate lines, ONLY

    The last copy of all duplicate lines, ONLY

    I’ll use a file, named Test_File.txt, that both contains single lines and duplicate lines that appear in 2, 3, 4 or more times. It contains 48 color palettes, found from various sites and added one after another, giving a total of 78,117 records whose 39,532 are single lines and 38,585 are duplicate lines. On the other hand, if we count one copy of all the duplicates, this file contains 11,290 different duplicate lines.

    To test my solutions, simply download this UTF-8 file ( 5,937,560 bytes ) from my Google Drive account :

    https://drive.google.com/file/d/1aYOpKon4KYw_NXSdj4Tm4Ti_FrygC2ky/view?usp=sharing

    Remarks :

    Note the definition of single lines : these are lines that differ in characters and/or case from all the other lines of the current file. For example, in this small file of 14 lines, below :

    ABC xyz 123 789 HIJ HIJ 123 AbC 123 HIJ abc HIJ 456 xyz

    The 5 lines ABC, AbC, abc, 789 and 456 are considered to be single lines, as different in chars and/or case from all the other lines.

    The 3 123 lines are considered to be a duplicate line with 3 copies ( Multiple occurrences )

    The 2 xyz lines are considered to be a duplicate line with 2 copies ( Multiple occurrences )

    Les 4 HIJ lines are considered to be a duplicate line with 4 copies ( Multiple occurrences )

    IMPORTANT :

    I’ve done some of the work for you, by adding a final column that numbers all lines in this file. Thus, is will be easy to restore the original order of the remaining records, after that each processing is complete. So, in case you need this initial order :

    Put the caret right before the present number, at the end of the first line

    Run the Edit > Begin/End Select in Column Mode option ( or use the Alt + Shift + B shortcut )

    Move to the last line of the file

    Put the caret right before the present number, at the end of the last line

    Run again the Edit > Begin/End Select in Column Mode option ( or use the Alt + Shift + B shortcut )

    => A ZERO-LINE column mode selection should appear throughout all the lines

    Then, run the Edit > Line Operations > Sort Lines Lexicographically Ascending option
    => The original order of the remaining records, AFTER completion of one of the 6 methods below, should be back !

    In each procedure, below, 1 or 2 S/R are used. To process them :

    First, cancel any existing selection to ensure that any line-end character will be taken in account during the S/R phase

    Open the Replace dialog ( Ctrl + H )

    Uncheck all box options

    Check the Wrap around option

    Select the Regular expression search mode

    Click on the Replace All button

    (1) To keep all the SINGLE lines ONLY ( 39,532 records ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )+

    REPLACE Leave EMPTY

    Perform the IMPORTANT section, above

    (2) To keep all the DUPLICATE lines ONLY ( 38,585 records = 78,117 - 39,532 ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )+ (*SKIP) (*F) | ^ .+ \R

    REPLACE Leave EMPTY

    Perform the IMPORTANT section, above

    (3) To keep all the SINGLE lines and the FIRST copy of ALL the DUPLICATE lines, found AFTER the sort ( 50,822 records ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( ( .+ ) .{7} \R ) (?: \2 .{7} \R )+

    REPLACE \1

    Perform the IMPORTANT section, above

    (4) To keep all the SINGLE lines and the LAST copy of all the DUPLICATE lines, found AFTER the sort ( 50,822 records ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )* ( \1 .{7} \R )

    REPLACE \2

    Perform the IMPORTANT section, above

    (5) To keep the FIRST copy of all the DUPLICATE lines ONLY, found AFTER the sort ( 11,290 = 50,822 - 39,532 ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )+ (*SKIP) (*F) | ^ .+ \R

    REPLACE Leave EMPTY

    Then :

    SEARCH (?x-is) ^ ( ( .+ ) .{7} \R ) (?: \2 .{7} \R )+

    REPLACE \1

    Perform the IMPORTANT section, above

    (6) To keep the LAST copy of all the DUPLICATE lines ONLY, found AFTER the sort ( 11,290 = 50,822 - 39,532 ) :
    Paste the Text_File.txt contents in a new tab

    Switch to that new tab and select all text ( Ctrl + A )

    Run the Edit > Line Operations > Sort Lines Lexicographically Ascending option

    Click anywhere, in the new tab, to cancel the entire selection

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )+ (*SKIP) (*F) | ^ .+ \R

    REPLACE Leave EMPTY

    Then :

    SEARCH (?x-is) ^ ( .+ ) .{7} \R (?: \1 .{7} \R )* ( \1 .{7} \R )

    REPLACE \2

    Perform the IMPORTANT section, above

    At the very end of any of these choices, you may delete the extra numeration :

    SEARCH (?x-s) .{7} $

    REPLACE Leave EMPTY

    Then run the Edit > Blank Operations > Trim Trailing Space

    Best Regards,

    guy038

    P.S. :

    Note that there is also a native way to get all the single lines and the first copy of all the duplicate lines, found with the present order ( 50,822 records ) :

    Paste the Text_File.txt contents in a new tab

    Switch to that new tab

    Delete the numeration, at end of each line :

    SEARCH (?x-s) .{7} $

    REPLACE Leave EMPTY

    Then, use the Edit > Line Opérations > Remove Duplicate lines option

    That’s a pretty solid breakdown 👍

    For most cases though, I’d honestly just go with the built-in “Remove Duplicate Lines” unless you specifically need first/last occurrences. Way simpler and less error-prone.

    The regex approach is powerful, but yeah… a bit overkill unless you’re dealing with very specific cases or large datasets.

  • Archive of Notepad++ versions

    4
    0 Votes
    4 Posts
    418 Views
    PeterJonesP

    @George-0 said in Archive of Notepad++ versions:

    I checked this link but it is not that relevant.

    Why do you think that? The README that @Murray-Sobol-1 linked to starts with,

    You can find all the old Notepad++ releases - from the very first version 1.0 up to v6.9.2 - here

    That’s 100% relevant to the original question “does any people have an notepad++ installers from version 1.0-4.x.x?”

    And if you then follow the link in that README to the Releases page, there are a few pages of releases. The first page has all the v1 installers/downloads, all the v2 installers/downloads, all the v3 installers/downloads, all the v4 installers/downloads (split into groups), and all the v5 installers/downloads (split into groups). And clicking to the second page gives all the v6 installers/downloads (split into groups). If that’s not relevant, then there is no answer to the original question that is relevant. Fortunately, it is obviously relevant: I was quite happy that the Developer listed to the feedback of the users, and re-published all those old installers so that people can still go grab the older copies of the application. He didn’t have to, and I appreciate that he did.

  • No-save buffer, for log barf I don't want to save

    2
    0 Votes
    2 Posts
    137 Views
    PeterJonesP

    @robstoddard ,

    Personally, I just have a file named Peter's Scratchpad.txt that’s always open, where I paste things like that (and, admittedly, things that started like that but have just stayed around in that file for a lot longer than originally intended). And if I save the “temporary data” in the file, who cares? I just delete the stuff out of the file that I don’t need anymore when I don’t need them anymore. That way, I can just Save All or use the Auto-Save plugin as much as I want, without having to ask for a specific feature to “not save this one thing”.

  • Showing EOL characters

    2
    0 Votes
    2 Posts
    195 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