Categories

  • Announcements regarding our community
    283 Topics
    5k Posts
    xomxX

    @mkupper said in Notepad++ v8.8.3 Release Candidate:

    Is the self-signed root cert going to be the permanent fix?

    I hope not. In the long term, a public trusted CA cert is needed, such as the previously used DigiCert one.

    But using a self-signed certificate is much much better from the BFU’s (or the Don’s grand-mom ;-) ) POV.

    No one can expect that BFU will install Kleopatra (and create the needed OpenPGP key pair etc etc…!) to verify the N++ distributed sigs. But using the standard Windows Explorer and Certificate interface for checking of the N++ executable digital signature == ok, even if “unverifiable” for now:

    npp-v883-1-unverifiable.png

    it’s a halfway where to go (BTW I saw somewhere that some corporate takes an unsigned 3rd party app and signed it with their own MS Azure self-signed cert just for an internal re-distribution).

    IMO - even if the above (very good!) description, for adding the N++ own cert to the trusted root ones, is not for every BFU in general, it’s still much better than want from them to learn how the OpenPGP (and public/private key stuff) works.
    After N++ is in Trusted Root CA:

    npp-v883-2-npp-cert-trusted.png

    Now the N++ executables:

    can be trusted (verified the origin, with some acceptable effort) prevents unnoticed modifications (common disk storage corruptions but also malicious modifs):

    npp-v883-3-npp-execode-modified.png

    (Sidenote: I’d not overestimate the executables digital sign in the malware fighting - nowadays many sophisticated attacks use patching already loaded process in memory and so they do not touch the executable files on disk at all…)

  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    36 Topics
    61 Posts
    PeterJonesP
    Update

    As of Notepad++ v8.7.6 in January 2025, the Shortcut Mapper should now list the keys based on the keyboard layout that was active when you started Notepad++. You should no longer need this FAQ, unless you are choosing to use an older version of Notepad++.

  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    PeterJonesP

    @Lycan-Thrope said in Config Files Need Updating, Too:

    I thought using the Validate Files would correct whatever was found

    My viewing the new aspects made me believe the validation and correction was automatic by clicking those functions … Guidance?

    Sorry, I was hoping the section on Validation in the README would be enough. I guess I need to add a help button and see if I can explain things better.

    The validation has occurred, and it has found errors.

    Unfortunately, I cannot program enough intelligence into the plugin to be able to figure out the right/best way to fix the problems, so it does not correct errors for you. That’s why the double-click will take you to the right spot in the problematic XML file. Further, the stylers.model.xml button can be used to open the model file side-by-side with the problematic XML – and the plugin will do its best to align the model file so that it’s showing the same section of its XML as has the problem in the other (though, looking at the order that line#652 is listed, I think my alignment algorithm might need some work: that line proved assumptions wrong).

    You are then supposed to compare the two, and use the semi-understandable XML error messages to help you figure out… Maybe I’ll have to figure out a way to convert the errors that the validation library spits out into something more human-readable.

    '5' is a duplocate key... indicates that there are two <WordsStyle> entries that have the same StyleID. StyleID must be unique for Notepad++ to be able to correctly map that row in the XML (or that entry in the Style Configurator’s Styles: list) to the underlying Lexilla style. When there are two with the same StyleID, Notepad++ only picks one to show in the Style Configurator and send to Lexilla. So you need to compare your XML with the model XML, and figure out what the right solution is: Do you just need to pick one of the two duplicates and delete it (and if so, your human intelligence is needed to decide which is the right entry to keep and which to delete) Or does one of them have the wrong styleID, and you just need to change it to a different value '' violates enumeration constraint... indicates that you have a keywordClass attribute on your <WordsStyle> that has an invalid value (in your case, the empty string). keywordClass needs to be one of the known types as listed in the error message, or the attribute needs to not exist at all. You need to compare the failing XML to the model, and need to figure out what value of keywordClass should be there – or whether to delete the attribute altogether (if it’s not there for that styleID in the model)

    along with the Download new models. I fear I may just not know what these new capabilities are supposed to perform, so I don’t want to assume what they are supposed to do.

    The Download Newest Model Files grabs the most recent stylers.model.xml and langs.model.xml from the Notepad++ repo, and overwrites your possibly-out-of-date models. This will make sure that the model used when validating is the “current best practice” found in the repo. (I really thought that the README was clear on that one. Is it not?)

    since I can’t screenshot the whole text since the box isn’t wide enough and it can’t be copied for inclusion in here under code format.

    Created issue #23: I’ll see if I can get Ctrl+C and/or dialog resize to work. (I’ve never done either from C++; I really don’t have a lot of GUI-programming experience, so I’ve always started with “functional enough GUI for me to do what I want” for my plugins, without aiming for super-fancy features.)

  • 10k Topics
    53k Posts
    PeterJonesP

    @Chris-Gorringe ,

    Using portable, I was able to confirm that v8.7.9 was the version that broke that feature. I have submitted bug report #16794

  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    A

    I had sent a comment before this one which is not yet visible to me.

    Just wanted to let you know it seems solved. Other plugins struggled as well so I completely uninstalled npp and started from scratch. Now it works for me as a normal user.

  • Security shouldn't be the privilege of rich people
    55 Topics
    246 Posts
    xomxX

    @Bhaalthazar said in Security of Legacy Notepad++ Versions (CVE-2025-49144):

    patching older vulnerable versions

    It could be fun, now without the public CA cert available…

  • All the issues (publications/questions) about binary translation
    72 Topics
    463 Posts
    conky77C

    I update the list of translatable plugins (NPP menuSearch is also translatable);
    At the moment the translatable plugins are:

    Hex editor available in German https://github.com/chcg/NPP_HexEdit/tree/master/HexEditor/lang https://github.com/chcg/NPP_HexEdit/tree/master/NativeLang/src/lang Multireplace available in Danish, French, German, Hungarian, Italian, Portuguese, Russian, Spanish, Ukrainian json tool available in Italian, Arabic, Chinese,French, German, Italian, Japanese, Korean, Twaiwanist NppMenuSearch available in German, Italian
  • Say fuck to Notepad++ here, and only here
    90 Topics
    511 Posts
    Jonathan JohansenJ

    @王阿喵 I’m a new member of the forums. I’m sorry that statement upsets you. It’s a benefit of being a person where you won’t be censored, that you can say what you want. The bananas metaphor may just lead to a worse relationship, right? Open source projects can be copied though, and if you can get a few people to agree, you can start a competing open source product, right? May the peace of Christ be with you, friend.

  • No support request and bug report here, only unconditional praise and worship

    1 Topics
    3 Posts
    T

    @martaisty I agree, this is a pretty awesome idea! I actually forgot there was a war going on.

    I’m a new user of Notepad++ and I already love it very much, both the politics and the software itself.

    It’s nice to see Don Ho has provided several ways I can help stop this damn war.

    As he suggested, I wanted to donate to one of the reliable organizations “Dronators” which is to help Ukraine assemble an army of drones but that project is already over and it’s no longer possible to donate.

    Anyways, I don’t think they will need my $50 as the project has collected $1,443,157,017! Impressive, but the war didn’t stop, what a bummer!

    In the end I chose to donate to the National Bank of Ukraine which is reliable as it is the national bank of Ukraine. Don Ho says this is to “help people suffering” and funding the military always leads wars to stop, eventually.

  • Blog posts from individual members
    58 Topics
    217 Posts
    OliverO

    As a developer, I often use Notepad++ when I’m traveling or working remotely. Recently, I took a cruise vacation, and it inspired me to jot down thoughts — not just code, but also motivational cruise quotes that help me stay creative.

    Here are a few cruise quotes that spark joy and clarity — just like clean code:

    “You can’t control the wind, but you can adjust the sails.”

    “Cruise life: where work ends and waves begin.”

    “Let your dreams set sail.”

    If you’re a developer who enjoys travel, you might enjoy reading my full list of inspiring cruise quotes here.

    Bonus tip: I used Notepad++ during my trip to take notes, edit scripts offline, and even write some travel logs!

    Let me know — do you code while cruising?


    moderator deleted external link

  • Computer/Programming Jokes are welcome here

    54 Topics
    172 Posts
    donhoD

    They are both sh*t, but different - confirmed!
    (for v8.8.2)

    547b0ea6-d488-43bd-bcba-c1d3853add3d-image.png