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
    • David Smith 2D

      How to change the colors used for html/css that is exported

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      123 Views
      David Smith 2D

      This issue has been fixed:
      I did the following. As I use a inline style sheet I created a “css color.css” file in Notepad++. Just a blank page that I can do the following:

      I can now paste my HTMLPad 2025 css code into Notepad++ with the colors I changed under Settings> Style Configurator.

      I also created a “html-colors.html” blank file and I can copy the html code with colors that Notepad++ provides that has been updated in the Style Configurator.

      Next I highlight the text then go to “Plugins” on the toolbar then “NppExport” then “Copy all formats to clipboard”.

      I can now paste in the html/css code into Word with the colors I want.

      I still cannot create a style in Word 2024 with colors as I suspect it would be too complicated for Word to figure what parts the different text it should color.

    • Magic MugsM

      Session migration

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      119 Views
      PeterJonesP

      @Magic-Mugs ,

      Assuming all your open files are real files, and all in the exact same folders on old and new machine, then just copy over %AppData%\Notepad++\session.xml

      If some of your files are the unsaved new # tabs, you will also need to copy over everything in %AppData%\Notepad++\backup\

      But if you want all the same settings from your old to your new, just copy over everything from %AppData%\Notepad++\

    • N

      Plugin Manager v8.9.1 has ghosted us

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      274 Views
      PeterJonesP

      @nikkinisly ,

      The thing truly named “Plugin Manager” was last compatible with Notepad++ in v7.5.9 from October 2019. Had you really not updated since then?

      Or are you talking about Plugins Admin? That’s the builtin replacement since v7.6 in November 2019

      And it’s still in v8.9.1:
      0e15144b-967e-42d8-a505-a19330607d00-image.png

      My guess is that you deleted gup.exe and/or other of the content in the updater folder, or the plugin list DLL. To find out:

      Exit Notepad++ Perform steps 1-3 for each of the following files List of files C:\Program Files\Notepad++\notepad++.exe C:\Program Files\Notepad++\plugins\Config\nppPluginList.dll C:\Program Files\Notepad++\updater\GUP.exe C:\Program Files\Notepad++\updater\libcurl.dll If any of those files are missing, you will need to reinstall, making sure to include the auto-updater and Plugins Admin, because all of those files are required for Plugins Admin to work Steps Right click on the file and choose Properties Look to see if it still has the Unblock checkbox If it does, checkmark it, then click Apply / OK

      here is an example of a GUP.exe that still has the mark of the web:
      9baed526-5a1a-4497-a75b-1acdc23f3b85-image.png

      After making sure the Mark of the Web is gone from all those files, then restart Notepad++, and Plugins Admin should be there.

    • Jay SJ

      PythonScript 3.0.24.0 - "PluginsManager:runPluginCommand Exception" dialog with "Access Violation" with one of my scripts.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · pythonscript python error scripting access violation plugins
      2
      0 Votes
      2 Posts
      130 Views
      EkopalypseE

      @Jay-S

      I replied here.

    • David BrownD

      Name on donation button is not "Don Ho" -- is this okay?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      327 Views
      shane knappS

      @David-Brown i came here to let you know that my receipt had what appears to be his email address on it (which i’ve blocked out here for privacy):

      2a1a9747-0e42-4d15-80d0-eb4737ffabd4-image.png

      seems legit to me, but i can’t know for sure. :)

    • Ilhan YumerI

      notepad-plus-plus.org should be added to the HSTS preload list

      Watching Ignoring Scheduled Pinned Locked Moved Security hsts domain security
      2
      0 Votes
      2 Posts
      330 Views
      PeterJonesP

      @Ilhan-Yumer ,

      The developer does not read most posts in this Forum. If you would like to suggest such a move to the developer, I would recommend creating a new Issue at GitHub requesting it (https://github.com/notepad-plus-plus/notepad-plus-plus/issues).

    • NppenjoyrN

      About recent security flaws

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      276 Views
      PeterJonesP

      @Nppenjoyr ,

      See this post

    • Brian DickensB

      Notepad v8.8.2 32-bit installer: virus or malware detected

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      0 Votes
      4 Posts
      8k Views
      PeterJonesP

      @Tavi ,

      As far as I can tell, they were unrelated. Scanners such as VirusTotal look at the executable itself, and last year were being triggered by the lack of signing and the self-signing of the executable.

      please confirm if this issue is related to the notepad++ hijack news dated 2nd Feb 2026?

      The issue you are referring to, as linked here and described in detail here specifically said,

      the compromise occured at the hosting provider level rather than through vulnerabilities in Notepad++ code itself.

      This was a website hack, and VirusTotal and other such AV scans do not detect website hacks, as far as I understand them.

      See the FAQ, which has the best “table of contents” for the website hack. ALL related followups/discussions must go in Topic: autoupdater and connection to temp.sh.

    • D. KirkpatrickD

      Editing the Shortcuts File

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · shortcuts
      2
      0 Votes
      2 Posts
      132 Views
      PeterJonesP

      @D-Kirkpatrick said in Editing the Shortcuts File:

      However with this latest version there doesn’t seem to be a way to do this?

      Nothing has changed regarding shortcuts.xml in the last many versions.

      I know there is a copy in %appdata% but that also had my changes.

      It depends on your settings, but the %AppData%\Notepad++\shortcuts.xml is the normal first place that Notepad++ will look.

      if that’s not working for you:

      confirm you follow the normal incantation for editing config files (ie, close all N++, open just one, edit file, save, exit and restart N++ to allow the change to take effect) if that doesn’t work, grab ?-menu’s Debug Info and share it with us share the actual XML snippet from the right shortcuts.xml file, so we can look to see if we can tell what’s wrong

      update: I just re-read your post, and noticed:

      When I added in the appropriate line to the XML file and saved it nothing happened and the pull down menu did not change.

      You have to exit Notepad++ after saving, then restart the application. Notepad++ doesn’t just re-parse shortcuts.xml when you save it, so the menu won’t change by just hitting save on the file.

    • George WarrinerG

      walkthrough that comments on each part of your Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      107 Views
      PeterJonesP

      @George-Warriner,

      My best guess is that it was referring to this conversation

    • ThosRTannerT

      [New plugin] Linter++ - Linter plugin with message navigation.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      3 Votes
      4 Posts
      5k Views
      ThosRTannerT

      Updated linter++ to v1.0.3

      Two changes of significance here:

      Deal properly with raw UTF8 characters in checkstyle output (mainly from jshint) Added two items to the plugin menu Help which opens the Readme on github pages About which produces a small modal dialogue with the version and a clickable link to the project github repo.
    • Zaflis_npZ

      How do i configure markdown (.md) display style?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      18k Views
      O

      For future users, you need to make your own variation of the pre-installed Markdown laguage.

      Go to Languages>User Defined Languages->Define Your Language.

      Then click on a Styler button. I’m using dark mode and just prefer white text for formatting italics bold etc. So I set foreground to transparent, this means no colour override and uses the dark mode settings.

      d7869850-e1bc-4ebe-ac09-75f35e022ade-image.png

      Then go to Save As and give it a name.
      You’ll need to activate the new language variant which will be available in the Languages menu.

    • PeterJonesP

      Poll: How Long Have You Used Notepad++?

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      7
      8 Votes
      7 Posts
      7k Views
      William4565W

      Its been 5 years I’m using notepad ++ and for me it was and it is very useful tool.

    • J

      Perl keywords "class" and "method" not recognised by Function List

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      13
      0 Votes
      13 Posts
      894 Views
      guy038G

      Hello, @peterjones,

      First, read this post to @coises, where I discuss the Unicode concept of identifiers, particularly in Perl !

      Thus, as explained at the end of that post, I created a second version of my perl.xml file parser which should work correctly without significant delay !

      In short :

      I do NOT use any atomic structure !

      In mainExpr of the class range, I do NOT use a named group but, simply, use the part ^ (?: package | class ) \b, twice !

      I changed your prototype / signature syntax (?:\([^()]*+\)\s*+)?+ to (?: \( [\x20-\x7E\w]* \) \s* )?

      I changed your attributes syntax (?:\:[^{]+)?+ to (?: : [\x20-\x7A\x7C-\x7E\w]+ \s* )?

      In the two syntaxes above, I simply added \w within each character class

      Note that, from this article https://www.effectiveperlprogramming.com/2015/04/use-v5-20-subroutine-signatures/, the following syntax seems possible :

      sub animals ( $cat, $auto_id = get_id() ) { say "$auto_id: The cat is $cat"; }

      Thus, for prototype / signature syntax, I’ve allowed parentheses within the outer parentheses. If this example seems not pertinent, use the alternate syntax :

      (?: \( [\x20-\x27\x2A\x7E\w]* \) \s* )?

      Finally, I changed the regex class name (?x)\s\K[^;{]+ to (?x) \s+ \K .+? (?= \x20* [;{] )

      BTW, my parser presently contains 13 strings \s. May be, the \h or even the [\t\x20] syntax should be more appropriate, in some parts ?

      <?xml version="1.0" encoding="UTF-8" ?> <!-- ==========================================================================\ | | To learn how to make your own language parser, please check the following | link: | https://npp-user-manual.org/docs/function-list/ | \=========================================================================== --> <NotepadPlus> <functionList> <!-- ======================================================== [ PERL ] --> <!-- Perl - functions and packages, including fully-qualtified subroutine names --> <parser displayName="Perl" id="perl_syntax" commentExpr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?m-s: # 'Multi-lines' mode ( ^ and $ match at line-breaks ) / 'Dot' char does NOT match line-breaks \x23 .* # Single Line Comment ( #................ ) ) # | # OR (?s: # 'Single line' mode (letter s optional as mode set by DEFAULT) __ (?: END | DATA ) __ # String '__END__' or '__DATA__' .* # ANY character(s), including line-breaks, till... \Z # Last line-break, included ) " > <classRange mainExpr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?m-i) # 'Multi-lines' mode (^ and $ match at line-breaks) / 'Sensitive case' mode ^ # NO leading white-space at start of line (?: package | class ) \b # Header : word 'package' or 'clas', in LOWER case (?s: # 'Single line' mode (letter s optional as mode set by DEFAULT) .+? # ANY character(s), including line-breaks, till... ) # Section below, excluded (?= # Start of look-ahead \s* # Optional leading white-space of ^ # NO leading white-space at start of line (?: package | class ) \b # Next header : word 'package' or 'clas', in LOWER case | # OR \Z # last line-break ) # End of look-ahead " > <className> <nameExpr expr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) \s+ # Leading white-space(s) \K # Discard text matched so far .+? # ANY character(s) till... (?= \x20* [;{] ) # First semi-colon or left brace, excluded " /> </className> <function mainExpr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?m-i) # 'Mutli-lines' mode (^ and $ match at line-breaks) / 'Sensitive case' mode ^ \h* # Optional leading spaces or tabulations (?: sub | method ) \b # Word 'sub' or 'method', in LOWER case \s+ # White-space character(s) (?: \w+ :: )* # Optional list of words EACH followed with :: \w+ # Word character(s) \s* # Optional white-space character(s) (?: \( [\x20-\x7E\w]* \) \s* )? # Optional Prototype or Signature section (?: : [\x20-\x7A\x7C-\x7E\w]+ \s* )? # Optional Attributes section \{ # Start of function body " > <functionName> <funcNameExpr expr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?: sub | method ) # Word 'sub' or 'method', in LOWER case \s+ # White-space character(s) \K # Discard text matched, so far (move this line right before \w+ if 'prefix::' part NOT desired) (?: \w+ :: )* # Optional prefix:: part ( package:: / names:: ) \w+ # Word character(s) " /> </functionName> </function> </classRange> <function mainExpr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?m-i) # 'Mutli-lines' mode (^ and $ match at line-breaks) / 'Sensitive case' mode ^ \h* # Optional leading spaces or tabulations (?: sub | method ) # Word 'sub' or 'method', in LOWER case \s+ # White-space character(s) (?: \w+ :: )* # Optional list of words, EACH followed with :: \w+ # Word character(s) \s* # Optional white-space character(s) (?: \( [\x20-\x7E\w]* \) \s* )? # Optional Prototype or Signature section (?: : [\x20-\x7A\x7C-\x7E\w]+ \s* )? # Optional Attributes section \{ # Start of function body " > <functionName> <nameExpr expr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?: sub | method ) # Word 'sub' or 'method', in LOWER case \s+ # White-space character(s) \K # Discard text matched, so far ( move this line right before \w+ if part 'prefix::' NOT desired (?: \w+ :: )* # Optional prefix:: part ( package:: / names:: ) \w+ # Word character(s) " /> </functionName> <className> <nameExpr expr="(?x) # 'Free-spacing' mode (see `RegEx - Pattern Modifiers`) (?: sub | method ) # Word 'sub' or 'method', in LOWER case \s+ # White-space character(s) \K # Discard text matched, so far \w+ # Word character(s) ( :: \w+ )* # Optional list of words, EACH preceded with :: (?= :: \w ) # Till a last string ':: + word char' excluded " /> </className> </function> </parser> </functionList> </NotepadPlus>

      In the https://github.com/notepad-plus-plus/notepad-plus-plus/blob/a91b22bd8337465e04c1afa30cb71f7909340293/PowerEditor/Test/FunctionList/perl/unitTest file, I added text at various locations :

      Before the line ############### Start ############### ################ Added by guy038 to test Notepad++'s FunctionList sub animals ( $cat, $autoid = get_id() ) { say "$auto_id: the cat is $cat"; } sub _function_été { return 1 } Before the line package NameSpace::Block { ################ Added by guy038 to test Notepad++'s FunctionList sub grâce::Hôte { return 'running' } sub grâce::Son_ø { return 'stopped' } ################################################################# At the very end of file : ################ Added by guy038 to test Notepad++'s FunctionList class NewClassSyntax { method inBlock { return 1 } method inBlockProto($) { return $_[0] } method inBlockAttrib :prototype($) { return $_[0] } } class Chaîne{ method inBlock { return 1 } method Dûment($) { return $_[0] } method ƒ_Hameçon :prototype($) { return $_[0] } } #################################################################

      In terms of speed, the Function List panel seems quickly displayed. I also did a test copying UniTest.txt twice, and then adding, by regex, _1, _2 and _3 at end of the different names, the Function List panel still appeared without delay !

      Best Regards,

      guy038

    • Zuan JhoZ

      How to add Translate plugin in NotePad++?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      3k Views
      Ulysses CastroU

      @PeterJones

      npptranslate64 didn’t work for me.

      For me working very well https://github.com/pot-app/pot-desktop

      There is a video on YouTube in Portuguese that explains step-by-step how to install it. You can change the subtitles to English on YouTube or enable auto-dubbing in English.

      https://www.youtube.com/watch?v=rM1HgS3RjzA&list=WL&index=33&t=347s

    • Bill RichB

      Error Code2 ShellExecute-ERROR

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      5k Views
      hadush drbushH

      @Bill-Rich said in Error Code2 ShellExecute-ERROR:

      When I try to “run” in Chrome (the default browser) I get the above msg.

    • Wally WilsonW

      DSpellCheck not underlining misspelled words

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      1k Views
      Six PS

      @PeterJones said in DSpellCheck not underlining misspelled words:

      current

      Downloading a library was only half the fix for me.
      I also had to switch to ‘Current User’ (was ‘All Users’).
      Otherwise I got a Windows error message ‘Can’t create directory .\plugins\config\Hunspell’
      Hope it’s helpful.

    • donhoD

      Upcoming Migration & Possible Interruptions

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      4 Votes
      1 Posts
      170 Views
      No one has replied
    • waskomaW

      strings starting with ";" ignored when given in codeblock start/end string definition

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      0 Votes
      12 Posts
      3k Views
      PeterJonesP

      @waskoma said in Cant change cursor color, and latest version shortcut to start batch file claims it cant find it:

      while we’re at it, some years ago probably it was you helping me to get code folding working I want to use:

      ;blockbegin
      ;blockend

      but that doesnt work again, looking at it at 8.9.2 it seems to recognize it only when there are like above right in the next row to eachother.

      allow folding of comments is checked. comment line is set to “,”

      line comment position is allow preceding white space

      I am quoting and replying to this here, because this is where it belongs:

      It still works for me in v8.9.2, using the same color descriptions as I used three years ago:

      1ad97c38-63dc-49e1-8e73-4cd67f843f79-image.png

      60c23da2-7e57-428c-a3dc-bdcbb8861f3f-image.png

      If you think you have text that doesn’t work with that, click the </> button in the forum, and paste that text between the ``` lines

      update: note that 8.9.2 actually has some bugs with regards to entering keywords: it would crash on long keywords. And, if my experiences just now were any indication, it also doesn’t necessarily save the edits to other fields, like the open/close for the folding or comment-line fields. But when I tried the bugfix build for my #17520 issue report, it allowed me to enter those other fields, and save them. So if you’re editing UDL, I actually recommend v8.9.1, not v8.9.2 (until the v8.9.3 is released with a fix)

    • Mario KorvaM

      Function list for C++ do not show constructors

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion function list
      14
      0 Votes
      14 Posts
      3k Views
      Mario KorvaM

      @Mario-Korva

      Finally I found some time to try to fix C++ Function List parser regex (cpp.xml) to show all constructors.
      Modification of the mainExpr in the <classRange> element of <parser>:

      Original expression:

      mainExpr="(?x) # use inline comments ... )? \s* # trailing whitespace \{ # class/struct body "

      Modified expression:

      mainExpr="(?x) # use inline comments ... )? \s*(:[^:]*)? #<- trailing whitespace and initializers \{ # class/struct body "

      I did equivalent modification of the mainExpr in the <function> element of <parser>. This modification enable that function list shows constructors with initializers.
      I found also that functions defined with the call convention keyword, for example:

      void __fastcall function(parameter) { ...

      are also missing in the function list. This is solved with the addition of the

      (__[\d\l]+\s+)? #<- call convention __fastcall, __stdcall, etc.

      immediately after second “# type pointer/reference” part of mainExpr in the same two elements.

      After this modificatoins the Function List of my C++ source files appears complete! I hope that I didn’t break something.
      I tried to include modified cpp.xml here, but the post becomes too long.
      I hope this will be useful for someone.