• Notepad++ v8.8.6 Release Candidate

    Announcements
    3
    4 Votes
    3 Posts
    1k Views
    Lycan ThropeL

    @donho,
    Or, as in my case, have been busy with IRL work and projects and haven’t had the time yet to torture test the release. Trying to beat the weather for outdoor projects to get finished, so testing hasn’t been a priority lately, sorry. :-)

  • 0 Votes
    4 Posts
    161 Views
    Mister SmittM

    @rdipardo

    This is the perfect option!

  • Alt key interferes with work

    Help wanted · · · – – – · · ·
    12
    0 Votes
    12 Posts
    2k Views
    PeterJonesP

    @Wester said in Alt key interferes with work:

    Same problem here – I’m studying the software and taking notes in Notepad in both Russian and English, and every time this stupid layout pops up and blocks input.

    As @Michael-Vincent said 3 years ago, hitting Alt is used as an accelerator to keyboard-access menu bars in almost every win32-api-based Windows application. Include Microsoft’s own notepad.exe.

    Who even came up with this?

    A small company called Microsoft has been using that feature in their operating system for decades. I am sorry this bothers you.

    The devs of a program whose only purpose is text input didn’t consider that pressing Alt would ruin typing when switching languages? Or did no one think that there are not only Americans but also people who actually use multiple keyboard layouts? And what are all these weirdos even writing here?

    And then you switch to full on insult mode, being rude to people who had nothing to do with that design decision that happened decades ago. Brilliant, and well argued. (That last sentence was sarcasm, in case you couldn’t tell.)

  • notepad++ store version for windows 11?

    General Discussion
    11
    0 Votes
    11 Posts
    7k Views
    PeterJonesP

    @DoktorDemento said in notepad++ store version for windows 11?:

    but is there any chance of a Microsoft Store listing for N++?

    Essentially 0% chance. The developer does not want to go through the hoops required for the MS store, regardless of whether they now allow EXE installers or not. He has rejected the suggestion multiple times.

  • Fighting Malicious Ads on Download Pages

    Pinned Locked Security
    44
    3 Votes
    44 Posts
    32k Views
    PeterJonesP

    @MarcCMcC said in Fighting Malicious Ads on Download Pages:

    There are definitely still giant, green “Download” button ads:

    Posting screenshots here isn’t helpful, at this point.

    And it is better if you just email the malicious links directly to don.h@free.fr , as has been said repeatedly in this discussion.

    I am locking this thread, as there isn’t anything new to say about this topic

    If you came here to report a malicious/dangerous download link (and NOTE: not all ads with “download” are malicious or dangerous), then

    e-mail the URLs for malicious or dangerous advertising links on that page directly to don.h@free.fr
  • 0 Votes
    5 Posts
    141 Views
    Franz-Josef BadeF

    @PeterJones
    Again, thanks a lot and good luck/success for your further work.
    Ps. Do you know perhaps an old program “VEDIT”? I worked with it for some decennies ;-) , but …

  • 2 Votes
    12 Posts
    428 Views
    Kim S. AndreasenK

    @Coises
    Thanks, but I am pretty sure that I have tried that without success,
    Perhaps the reason it didn’t work is that I probably had the ‘Use Unicode UTF-8 for worldwide language support’ checked, which according to @Peter Jones would invalidate the solution.

    Thanks a lot to both of you for valuable and knowledgeable support!

  • libcurl < 8.14.1 CVE-2025-5399

    Security
    2
    0 Votes
    2 Posts
    110 Views
    xomxX

    @Pulp-Sendo
    Already fixed for the upcoming N++ v8.8.6.

  • 0 Votes
    3 Posts
    239 Views
    CoisesC

    @John-HUANG-0 said in Looking for Scintilla examples for a Notepad++ plugin:

    I want to write a Notepad++ plugin that can change the font color and background color of certain specific text.

    Depending on your needs, the first thing you should consider is whether you really need a plugin, or whether a User Defined Language could do what you want.

    However, using a method like this:

    SendMessage(hSci, SCI_STYLESETFORE, SCE_USER1, RGB(255, 0, 0));

    is not very efficient, especially when dealing with very large files.

    When making many calls to Scintilla, it is best to use Direct Access. Even better, if you are writing in C++, is to use the ScintillaCall interface. Annoyingly, that interface does not seem to be documented anywhere. You can read the relevant section in the help for my Visual Studio template and, if it makes sense, either use that template or look at the code (start here) to see how it’s done.

    I asked ChatGPT about this, and it suggested that using Lexilla could be much more efficient. I found the Lexilla source code here:
    https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/scintilla

    I have never attempted to write a lexer, so I can’t give advice there, except to say that unless you are trying to implement full syntax highlighting for a computer language that doesn’t already have a lexer, it’s probably not the way to go. The efficiency problem can be solved by using the direct access interface or ScintillaCall.

  • 0 Votes
    4 Posts
    131 Views
    CoisesC

    Since you typed this message in Spanish, I guess you speak primarily Spanish.

    Since you did not get proper letters with accents or tildes in your message, I guess you are using a computer that was set up for English. What to do depends on whether this is your computer or whether you are using a computer that belongs to someone else.

    If you are using a computer that belongs to someone else, or that is controlled by your school or your employer, then you should explain your problem to them and ask for assistance.

    If it is your own computer, then you should change the language settings to use a Spanish keyboard. You should be able to find instructions by searching for something like how to install Spanish keyboard on Windows. Unfortunately, this is not the right forum for a detailed discussion of that, since it is really a Windows problem, not a Notepad++ problem. The problem can be fixed; you will get better answers by searching than anything I could just paste in here.

    Traducido del inglés con Google Translate:

    Como escribiste este mensaje en español, supongo que hablas principalmente español.

    Como no se ven las letras con acentos ni tildes correctas en tu mensaje, supongo que estás usando una computadora configurada para inglés. La solución depende de si es tuya o de si usas una computadora de otra persona.

    Si usas una computadora de otra persona, o que está controlada por tu escuela o tu empleador, deberías explicarles tu problema y pedir ayuda.

    Si es tu propia computadora, deberías cambiar la configuración de idioma para usar un teclado en español. Deberías encontrar instrucciones buscando algo como cómo instalar un teclado en español en Windows. Lamentablemente, este no es el foro adecuado para una discusión detallada sobre esto, ya que es un problema de Windows, no de Notepad++. El problema se puede solucionar; obtendrás mejores respuestas buscando que cualquier cosa que yo pueda simplemente publicar aquí.

  • 1 Votes
    10 Posts
    1k Views
    CoisesC

    @samsung-s6-Lite said in Help REPLACING content with incremental order (by +1):

    using your method I managed to work out how to do it PARTIALLY using this.

    Find what: SnapRestSeconds = \d+
    Replace with: SnapRestSeconds = (?=match)
    Search mode: Regular expression

    This starts them at number at ‘2’ I need it to start at 30 please, can you help?

    If it started at 2, then you did one sequential Replace with the same replace expression first. That’s OK — just be aware that replacing “continues from where you left off” if the expression hasn’t changed. After you close and reopen the Replace in indicated region dialog, change the expression, do a Replace All or select Clear History from the drop-down menu beside Replace All, counting will start again from 1.

    The expression you want is (?=match+29). (Since match will start from one, add 29 to match to start from 30.)

  • 1 Votes
    3 Posts
    96 Views
    Dominique MegardD

    @Terry-R Oops, I knew it was simple, just the \' which should not have been escaped. And on the site regex101.com only the “Rust” flavor pointed it out !!!
    Thanks anyway for the tips …

  • problem in search

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    87 Views
    PeterJonesP

    @Ioannis-Karadimitropoulos said in problem in search:

    I search for the string γεα.
    I get all these liens that have γεα inside the verses
    but I do not get those having γεα at the end of verse

    The “like the verse” example you gave is literally in the list of matching results you showed us:
    36801032-dfcb-4995-8a1c-2384713c5f53-image.png

    And, to confirm, when I paste the majority of your post into Notepad++, both of the Line 14919 lines match the γεα

    d7a87610-50de-4dba-bd73-72bf0493d969-image.png

    I

  • 0 Votes
    5 Posts
    5k Views
    Sakis G.S

    @Nicholas, looks like you cant!

    as @Alan-Kilborn pointed out, the option is there, but it’s greyed out.

    is there a toggle that enables editing?

  • Smart Highlight not working

    Help wanted · · · – – – · · ·
    12
    0 Votes
    12 Posts
    1k Views
    Michael BelewM

    @Ekopalypse I know this is very old post, I have just lived with it till now. I started to try and find the answer again and found my own old post. You are correct the background for the Global Style Smart Highlighting was set to the default background. This fixed my issue.

  • 0 Votes
    4 Posts
    253 Views
    PeterJonesP

    @Michkovy said in Customizing toolbar buttons and non default icons:

    A final question, what format settings do the fluent icons have? Mine are lacking transparency at the moment.

    Sounds like yours have 24bpp. You need 32bpp to have transparency.

    The Plugins > Customize Toolbar > Help - Custom Buttons actually tells that you need the 32bpp, though it doesn’t explain why. And it also just mentions the 32x32 size – but that means that it has to be downscaled to 16x16 when running with small toolbar icons, so I recommend having both.

    (Note on icon editors: VS2022’s icon editor will show the 32bpp image types in the ico file, but won’t let you create a new one with transparency. I generally use GIMP for icon editing, which has no such limitation; a dedicated icon editor like IcoFX will generally work, too. [I believe you have to find a copy of 1.4.6 or older to have a freeware version; the newer versions are commercial products and will stop being able to save after a 30day trial.])

    Actually, I didn’t answer your question as asked, I answered what I thought you really meant. But to answer the actual question, the fluent icons in the source code actually use 8bpp with one color index being dedicated to 100% transparent pixel. So if your icon editor will allow that, and 255 colors are sufficient for your icon (probably should be), then you could try that, instead (I believe VS can do transparent in 8bpp mode). If you want to use the same palette as Notepad++'s fluent icons, you could even grab one of the fluent icons from the source code and use that as the basis for your icon(s) – just replacing the image for each of the sizes.

    update: the user manual now explains that you need 24bpp or 8bpp to get the transparency.

  • 0 Votes
    3 Posts
    226 Views
    CoisesC

    @PeterJones said in Korean script letters do not group in Notepad and Notepad++ (Help Wanted):

    I tried pasting 하ᄂ구ᄀ into LibreOffice Writer, and it combines some of the pieces but not all:
    9b81f20d-99dd-4e01-82e8-986bc761c8d4-image.png – it also uses NSimSum font when I paste those characters. And though I pasted them in as the six characters next to each other, once they are in, Writer treats them as 3 characters

    I’ve been trying to figure out what is going on here. I know nothing about the Korean language, but I did come across the Hangul jamo while implementing the Unicode rules for determining grapheme cluster boundaries as part of my Unicode-based search.

    I don’t recommend trying to read that unless you have a lot of free time and brain power. The bottom line for this purpose is that Hangul syllables are written as separate characters, each of which can be composed of multiple Unicode code points. The most common sequence is LeadingConsonant+Vowel+TrailingConsonant, though there are extensions and complications.

    Like many other Unicode characters, Korean characters come in composed and decomposed forms. I think all the modern Korean characters have a single-code-point composed form. They’re usually typed in a decomposed form, though, and assembled into composed form by an Input Method Editor, though decomposed form is permitted in Unicode.

    The reason pasting that combination into LibreOffice Writer produces three characters rather than two — which, as you might notice, is also true in the web browser rendering — is because the original poster’s decomposition is wrong. The canonical decomposition of 한국 (\ud55c\uad6d) is ᄒ ᅡ ᆫ ᄀ ᅮ ᆨ (\u1112\u1161\u11ab\u1100\u116e\u11a8), not ᄒ ᅡ ᄂ ᄀ ᅮ ᄀ (\u1112\u1161\u1102\u1100\u116e\u1100). The latter version uses all leading forms for the consonants, but the third and sixth code points should be the trailing forms.

    However, the correct decomposition still doesn’t compose visually in any font I can find in Notepad++.

    I downloaded the current version of Scite and set the font to NSimSum by using Options | Open User Options File, typing:

    font.base=font:NSimSum,size:12

    there, and saving. I opened an empty tab and chose File | Encoding | UTF-8. Then I pasted:

    한국 á ç

    (You can’t see it here, but that is the canonical decomposition of all those characters.) Just as in Notepad++, the Latin letters with diacritics display as composed, but the Korean syllables do not.

    Therefore, I think this is a Scintilla limitation. Why it doesn’t compose visually, when LibreOffice Writer and web browsers do, I have not yet been able to determine.

    All this might not be as related to the problem @SalviaSage described as it appears to be. Notice that the original post says:

    For example, I want to get (한국).

    Those two characters are composed. They don’t consist of individual jamo. You can determine that by pasting them into Notepad++. You can also determine that neither the forum nor the web browser is performing the conversion to composed form by pasting this: 한국 into Notepad++. It looks the same here, but it’s six separate characters in Notepad++.

    So I think the original poster’s problem has more to do with using, or not using, or misusing, an Input Method Editor. Unfortunately, I don’t know anything about those. Notepad++ will display the composed Korean characters just fine; for some reason, the individual jamo are going directly from the keyboard to Scintilla without composition. I’m thinking perhaps an inline IME is a default for a web browser, but not for Notepad++? I have to leave pursuit of that possibility to someone else.

  • 4 Votes
    68 Posts
    25k Views
    PeterJonesP

    Notepad++ v8.8.6 Plugins Admin links to CollectionInterface v1.2.0

    comes with Dark Mode support and bulk-mode download (actually from v1.1, which I mentioned over here) v1.2.0 has better handling of -settingsDir and Cloud Directory. (It was implementing the -settingsDir handling which lead to the new v8.8.6 plugin message NPPM_GETNPPSETTINGSDIRPATH , which my plugin uses when Notepad++ version is new enough (though it does have a workaround that works even if you manually install it on an older N++).)

    CollectionInterface v1.3.0 is now available for manual installation:

    When downloading functionList defitions(s) (either on the FunctionList tab, or in bulk along with the UDL), the plugin will ask if you want to update the overrideMap.xml, which allows the functionList to be fully installed through the automatic process, so that functionList will immediately start working, without requiring you to manually update overrideMap.xml to link to the definition. I wasn’t fast enough with this feature to get it in the v8.8.6 Plugins Admin, so it’s manual installation only, for now.
  • 4 Votes
    2 Posts
    186 Views
    guy038G

    Hello, @coises and All,

    I’ve just tried your last ColumnsPlusPlus v1.3 release and indeed, the search is now considered as a true Unicode search, whatever the individual encoding of each file !

    Let’s consider this simple UTF-8 text :

    This ‟ is a † very • small ‰ text ‱ for › test 201F 2020 2022 2030 2031 203A in Unicode UTF-8 enoding

    And this ANSI text :

    This ? is a † very • small ‰ text ? for › test ? 0086 0095 0089 ? 009B in Windows-1252 encoding

    IMPORTANT Don’t forget, when this second text is opened in N++, to run the Encoding > Convert to ANSI option, first !

    Now, we can create the following table, which recapitulates the Non-ASCII characters used in my examples :

    •--------•-----------------•-----------------• | | Windows-1252 | Unicode | | •--------•--------•--------•--------• | Char | Dec | Hex | Dec | Hex | •--------•--------•--------•--------•--------• | ‟ | ? | ? | 8223 | 201F | | | | | | | | † | 0134 | 0086 | 8224 | 2020 | | | | | | | | • | 0149 | 0095 | 8226 | 2022 | | | | | | | | ‰ | 0137 | 0089 | 8240 | 2030 | | | | | | | | ‱ | ? | ? | 8241 | 2031 | | | | | | | | › | 0155 | 009B | 8250 | 203A | •--------•--------•--------•--------•--------•

    In Notepad++ :

    Within an ANSI file, the regexes [†-‰] or [\x86-\x89] would only find the characters and but not the whose Win-1252 code ( \x95 ) is after \x89

    Within an UTF8 file, the regexes [†-‰] or [\x{2020}-\x{2030}] would find the characters and and also the whose Unicode code-point is between 2020 and 2030

    In Columns++ :

    Within an ANSI file, the regexes [†-‰] or [\x{2020}-\x{2030}] would find the characters and and also the whose Unicode code-point is between 2020 and 2030

    Within an UTF8 file, the regexes [†-‰] or [\x{2020}-\x{2030}] would find the characters and and also the whose Unicode code-point is between 2020 and 2030

    Note that using the range [†-›] within an ANSI file, a N++ search of the char would have been successful as its code-point ( 2022 ) lies within the 2020 and 203A range !

    Now, @coises, I cannot test easily the CJK behaviour of your new search engine as it’s obvious that I do not a default CJK code-page, needed for such a study ! However, I do not see why your new search behavior couln’t be applied to any kind of Unicode chars ;-)

    Best Regards,

    guy038

  • 0 Votes
    12 Posts
    16k Views
    Diego RaguindinD

    Actually, I initially took Kedar’s XML, which I assume is based on Chris K’s