• Notepad++ replacing '!='

    Help wanted · · · – – – · · ·
    4
    1 Votes
    4 Posts
    98 Views
    PeterJonesP

    To future readers: I have updated the User Manual’s description of the DirectWrite settings to show:

    a4645737-3f77-4d64-b3e2-86137d6184d2-image.png

    This should hopefully help guide people in how to use or disable this feature of their chosen fonts

  • 0 Votes
    4 Posts
    21 Views
    PeterJonesP

    @BrBill said in Editor displays "!=" token as "≠" symbol - how to turn off?:

    I’ve looked at settings, help pages

    I have updated the User Manual’s description of the DirectWrite settings to show:

    a4645737-3f77-4d64-b3e2-86137d6184d2-image.png

    With this phrasing, if someone goes to the preferences page in the User Manual and uses their browser’s Find in Page feature (Ctrl+F) to search for != , they should be able to find this information, even if they don’t know to look for the term ligature. (No, I cannot add every possible coding ligature; != seems to be the most common one people choose to ask about, so that’s the one I put in the manual to make it easy to Find in Page.)

  • Unexpected text display change for >=

    General Discussion
    5
    1 Votes
    5 Posts
    313 Views
    PeterJonesP

    @BrBill said in Unexpected text display change for >=:

    @Alan-Kilborn I want to turn this off too. It also displays != as ≠. Does anyone know?

    You didn’t need to post a second time with the same question 15 minutes after your first post here.

    Besides, one answer in the post you were replying to – turning off DirectWrite, which is now setting it to GDI (most compatible) as of a few versions ago – would have worked for you if you’d tried it.

    Or, as I explain here, pick a font that doesn’t have the ligature feature.

    Either works.

  • Unexpected change in language

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

    @Pat-Mitchell ,

    Since this question had nothing to do with the installer issues from the original post that you replied to, I forked it out to a separate question: this will get it in the right place so people know you are looking for help on this separate issue.

    There are two ways that I could interpret your question: your first phrase, “My note pad switched to a foreign language”, makes it seem like the user interface (menus, dialog boxes, etc) changed to a different language. For that, @Jonathan-Johansen’s advice is solid. As it says in that discussion, if you cannot figure out which menus to click to access the settings, because it’s too foreign for you, you can exit Notepad++, and use Windows Explorer to go to %AppData%\Notepad++\ (or appropriate config file location for your Notepad++) and delete nativeLang.xml – when you restart Notepad++, it will go back to the default English language.

    But you also said, “When I try to load a document, it comes up foreign and unreadable” – and the Settings > Preferences > General > Localization (or deleting nativeLang.xml) can do nothing about that. Notepad++ shows you the text that’s in a file, regardless of what localization language your user-interface is set to. If the text is in Chinese characters, it doesn’t matter whether your user interface is set to English, Russian, or pig latin – the text will still show up as Chinese.

    So if you are loading a file and it is showing up in valid Chinese – if you don’t know, you could copy the text, and paste it into your favorite online translator, and if it can spit out meaningful English when it translates, then it probably is valid) – but if it’s showing up as real Chinese, that means the file is really written in Chinese. So either you are not opening the same file as you did before (if you are sure that exact same file used to be in English), or someone edited that file and replaced its contents with the Chinese. However, if the text copied from the file cannot be translated (even if you put the translator website into “automatically detect language”), then it’s probably a binary file. If so, you are either opening a different file, or someone zipped it or changed it to a different format (a .docx or .pdf are not text files, so Notepad++ cannot be used to read them); or maybe someone encrypted the textfile, in which case you will have to ask them how to decrypt it before you try to edit the text in Notepad++; or, unfortunately, if your machine has been infected with ransomware or some other malware, that malicious code (which has nothing to do with Notepad++) may have encrypted or destroyed your text files, maybe in the hopes that you would pay them to give you back your original files (never do that; clean things up and restore your data from your backup, if that’s the condition you are in).
  • Fighting Malicious Ads on Download Pages

    Pinned Security
    25
    3 Votes
    25 Posts
    7k Views
    donhoD

    @krystian3w
    I cannot reach to destination domain (to be banned) without full link.
    Could you send them to me via my email “don.h@free.fr” ?

  • How to navigate DSpellCheck?

    Help wanted · · · – – – · · ·
    3
    1 Votes
    3 Posts
    30 Views
    LordP666L

    @PeterJones

    Thank you. I thought something was wrong with my Windows setup or keyboard.

  • KNOWN ISSUE: The digital certificate is not available in version 8.8.2.

    Pinned until 8/1/25, 4:30 PM Security
    5
    0 Votes
    5 Posts
    106 Views
    PeterJonesP

    I pinned this and added KNOWN ISSUE to the title, to hopefully make it plainer to people that they don’t need to report it here.

  • Notepad++ v8.8.2 Release

    Pinned Announcements
    8
    3 Votes
    8 Posts
    1k Views
    Murray Sobol 1M

    @Murray-Sobol-1
    Good news!! I re-downloaded the update and it installed with no issues!!
    Thanks
    Murray

  • Security of Legacy Notepad++ Versions (CVE-2025-49144)

    Security
    1
    0 Votes
    1 Posts
    40 Views
    No one has replied
  • Notepad v8.8.2 32-bit installer: virus or malware detected

    Security
    2
    0 Votes
    2 Posts
    940 Views
    xomxX

    @Brian-Dickens

    https://community.notepad-plus-plus.org/post/102220

    As I said, without the N++ digital signature, stupid AVs go nuts.

    The number of false positives from AVs is so high because in the past, many attackers probably have also used the free, open source NSIS for their purposes.

  • Export Data to Excel

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

    @Caroline ,

    I am going to echo @Mark-Olson’s sentiment, but with a lot more wordy detail, because that’s the kind of answers I give here. ;-)

    Notepad++ does not have a native compare function. Since you are saying you are using Notepad++ to compare, I have to conclude that you are using either the old Compare plugin or its much-improved successor ComparePlus. (If you are still using ComparePlugin, remove it and install ComparePlus, as that is the one that is getting continued support going forward.)

    Unfortunately, even ComparePlus doesn’t have any feature to export its comparison to any format (whether it be something “standard”, like normal diff output or a patch file, or something unusual like a custom spreadsheet format)

    Just so you know, Notepad++ is a text editor, and Excel natively works with binary data files. There is a text-based intermediary – the CSV format. But I cannot think of any standard CSV-based format that would be reasonable for a difference/comparison (ie, I have never heard of diff or similar tools outputting to a CSV format), so I doubt there’s anything ready-made that exists for Notepad++, any other text editor, or any command-line-based text-comparison tool like diff.

    Since no one here is likely to know what are “CRIMS codes” or what “RPA running [in Excel]” is, or what format that spreadsheet-based tool would want the “differences” in for comparison, there’s not much else we can do at this point.

    If you were to give us some short dummy “CRIMS”, along with a table

    | header 1 | h2 | h3 | |---|---|---| | A1 | B1 | C1 | | A2 | B2 | C2 | | A3 | B3 | C3 | header 1 header2 header3 A2 B2 C2 A3 B3 C3 A4 B4 C4

    And show us what pieces from the CRIMS codes (or the “comparison of CRIMS codes”) map into each of those cells.

    If it’s not too complicated, someone might be able to create a script for the PythonScript plugin that would take one or more CRIMS files and create the text-based CSV spreadsheet, which you could then open in Excel and use the “RPA” tool. And if the CRIMS codes and/or the difference format that you want is too complicated, it might be beyond the scope of free help in a text editor forum; so don’t be surprised if no one is able to help you with that, unless it’s just a simple mapping from a simple data format.

    (However, if comparing the differences between two CRIMS codes is something that people in your field often do with an RPA running in Excel, it would very much surprise me if there weren’t already tools – either command-line or Excel/VBA-based – that didn’t do the comparison or otherwise convert the CRIMS codes into the right format to read in Excel. In which case, it’s not a question for Notepad++ users.)

  • Notepad++ v8.8.2 Release Candidate

    Announcements
    36
    3 Votes
    36 Posts
    22k Views
    B

    Just to mention, for people using Intune to deploy notepad++. if you activate the “managed installers” option, any apps not signed wil lbe signed with a valid certificate and therefore users don’t have popup for the “unknown publisher”. I think you can do the same with SCCM. Will not help regular users, but jsut in case.

  • notepad++,政治言论独裁的软件而已

    Boycott Notepad++
    2
    -1 Votes
    2 Posts
    96 Views
    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.

  • We are with Ukraine

    Boycott Notepad++
    4
    -1 Votes
    4 Posts
    1k Views
    王阿喵

    @Deniss-Johanssen 虽然乌克兰遭到了毁灭,但则连斯基的人民得到了那些所谓的明主自由

  • 0 Votes
    8 Posts
    439 Views
    EkopalypseE

    @Kunal-Mehta

    The problem with all these different “cloud” drives is that they don’t use a standard protocol, which makes it difficult to support multiple of them.

  • Applying Diff patches?

    General Discussion
    4
    0 Votes
    4 Posts
    136 Views
    EkopalypseE

    @pbarney

    Using PS3 and an installed pygit2 library
    you can do something like

    import pygit2 repo = pygit2.Repository(Path(notepad.getCurrentFilename()).parent) diff = pygit2.Diff.parse_diff(editor.getText()) repo.apply(diff)

    This assumes that

    the patch file has been created from a git tool the current file open is the patch file in question the patch file is in the repo directory
  • 1 Votes
    3 Posts
    80 Views
    EkopalypseE

    @pbarney

    I only use the pre-release version, PS3,
    as I only work with utf8 encoding, which I think everyone should do.

  • 1 Votes
    18 Posts
    1k Views
    Jonathan JohansenJ

    I figure I’d better document the solution(s) for others that may tread this path. A summary of some of the steps needed (of course built on top of Mark’s work!):

    Ensure you register your modeless dialog with NPP (NPPM_MODELESSDIALOG, in Main.cs we call NppFormHelper.RegisterFormIfModeless(Form, bool)) The WPF System.Windows.Controls.UserControl should be in an System.Windows.Forms.Integration.ElementHost, which is in a System.Windows.Forms.Form. I’ve subclassed the ElementHost to handle WM_SHOWWINDOW to update the Visible property, and to trigger a (slightly delayed) refresh of the visuals when we get a WM_SIZE. There I invalidate the visuals and update layouts. There may be a way to skip this, but it’s working, so I’m not trying to fix it. In the WPF UserControl, when it’s Loaded, we have to get the presentation source (as a HwndSource) and add a hook to respond to the WM_GETDLGCODE and tell the source that we DLGC_WANTCHARS and DLGC_WANTARROWS, and maybe we also need DLGC_HASSETSEL.

    I’ve pulled most of it into a method called MakeModelessDialog. And now for a short recording of it working!

    2025-06-28 Typing in Notepad++ modeless WPF dialog works.gif

  • Npp website spelling error

    General Discussion
    7
    3 Votes
    7 Posts
    678 Views
    deleeleeD

    @mkupper said in Npp website spelling error:

    FWIW, this Google search gets zero hits other than this forum thread.

    site:notepad-plus-plus.org "featurs"

    I’m guessing that the misspelling, if it ever existed, was corrected a while back.

    Yes, it was fixed within a few days of me posting 😁👍

  • 0 Votes
    2 Posts
    158 Views
    PeterJonesP

    @Maxim-Rodin ,

    Settings > Preferences > Print, uncheck Print Line Number