Categories

  • Announcements regarding our community

    331 Topics
    5k Posts
    donhoD
    As title.
  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    38 Topics
    64 Posts
    PeterJonesP
    Corrupted Session Starting in Notepad++ v8.6.5, it will store session.xml.inCaseOfCorruption.bak next to session.xml, and will automatically use that if session.xml is corrupted. However, if you ever find that you open Notepad++ (especially after an update or a system crash) and find that the files opened weren’t in the same state as when you let them, you can try this procedure: Exit Notepad++ Windows Explorer, go to %AppData%\Notepad++ (or in your appropriate config-file location if you aren’t using AppData for config) Rename session.xml to session.xml--keep Copy session.xml.inCaseOfCorruption.bak to session.xml Run Notepad++ → If it’s now showing the right copy of your files, great! If not, exit Notepad++, delete session.xml, and rename session.xml--keep back to session.xml .
  • Notepad++ discussions that don't fit in other Categories

    4k Topics
    22k Posts
    mpheathM
    @PeterJones The mysql lexer has no real use with default style so was not seeing results though as developing the json some more then it started showing good progress. Perseverance wins in the end. Just need to get familiar with what’s required and I remembered that I am awful with styling colours.
  • 10k Topics
    55k Posts
    M Andre Z EckenrodeM
    I’m aware that there are other ways to achieve this, and that’s indeed what I ended up doing, but I’m still hoping to understand why my initial method did not work… In ANSI text, I sought to replace selected instances of the straight single quote (') that were preceded by any non-word character and followed by any word character, with the right/closing curly single quote (’), using FIND WHAT string (\W)'(\w) and REPLACE WITH string \1’\2. Some example text I tried it on: this 'Cos I am that this 'Round and 'round that My FIND WHAT string successfully matched everything it was intended to, shown as marked here: [image: 1785950382573-2026-08-05-12-36-09-maze-marked-regex-match.png] However, my REPLACE WITH string only replaced the third instance ( 'r) and reported no error messages for the first two before jumping to the next instance when I clicked on REPLACE. Anybody? @guy038? [Note to @Coises: I also tried this with Search++ , which also failed to work as expected — though in a different way than NPP’s native find/replace feature — which I will report separately.] Debug: Notepad++ v8.9.7 (32-bit) Build time: Jul 14 2026 - 01:11:31 Scintilla/Lexilla included: 5.6.4/5.5.1 Boost Regex included: 1_90 pugixml included: 1.16 nlohmann JSON included: 3.12.0 Path: C:\Program Files (x86)\Notepad++\notepad++.exe Command Line: Admin mode: OFF Local Conf mode: OFF Cloud Config: OFF WinGUp: present disableNppAutoUpdate.xml: absent Periodic Backup: ON Placeholders: OFF Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1) Multi-instance Mode: monoInst asNotepad: OFF File Status Auto-Detection: cdEnabledNew (for current file/tab only) Dark Mode: OFF Display Info: primary monitor: 1920x1080, scaling 100% visible monitors count: 1 installed Display Class adapters: 0000: Description - Intel(R) HD Graphics 620 0000: DriverVersion - 31.0.101.2140 0001: Description - NVIDIA GeForce 940MX 0001: DriverVersion - 30.0.15.1169 OS Name: Windows 10 Enterprise (64-bit) OS Version: 22H2 OS Build: 19045.7548 Current ANSI codepage: 1252 Plugins: BetterMultiSelection (1.5) ColumnsPlusPlus (1.3.1) ColumnTools (1.4.5.1) ComparePlus (3) DSpellCheck (1.5) ExtSettings (1.3.1) HTMLTag_unicode (1.6) mimeTools (3.1) MultiClipboard (2.1) MultiReplace (6.0.0.36) NppCalc (1.5) NppConverter (4.7) NppExport (0.4) NPPJSONViewer (2.2) NppTextFX (2.0.3) NppXmlTreeviewPlugin (2) PreviewHTML (1.4.5) PythonScript (2.1) RegexTrainer (1.2) Search++ (0.6.3.1) SessionMgr (1.4.4)
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC
    @M-Andre-Z-Eckenrode said: @Coises As you I recently reported an issue with Search++ in a new, separate topic, but I see that several others have reported various issues in this one (presumably, because it’s still a work in progress). I have a new issue to report, and thought maybe I should ask if you prefer that new issues get reported in their own topic (which is generally my default), or for users to just include them in this one. Do you care one way or the other? Either way is OK with me. I suspect the moderators might prefer to keep discussion confined to this topic, though.
  • Security shouldn't be the privilege of rich people

    72 Topics
    358 Posts
    S
    I have checked out the https://github.com/donho/xmlSigner project and it is what I needed. I have used that project to correctly pass the XML signing test. I have opened some issues with that project. Here is a quick summary of how the update process works. The wingup code first queries a website to determine if an update is required and the returned XML provides information to be used later. None of the information in the XML is used if it doesn’t pass the XML security check. After passing the security check the code looks for the update status and download location, assuming an update is required. After prompting the user to download the update and finishing the download, it checks the code signing of the installer. Assuming that the code signing is valid and the correct certificate, it starts the install. I will try to document all the customizations to the code from Notepad++, wingup and xmlSigner to make it work in my project so that future users have a place to start, but that will be after I am sure its all working correctly with the new security updates. Thank you @xomx for pointing me in the right direction.
  • All the issues (publications/questions) about binary translation

    76 Topics
    480 Posts
    U
    @xomx Thank you very much for the work you have done, which will lead to improvements in Notepad++ in the future. I am very grateful to you.
  • Say fuck to Notepad++ here, and only here

    95 Topics
    560 Posts
    PeterJonesP
    @makeymalik , Longstanding known issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8660 From what I understand from that Issue, it’s usually related to the OS display-scaling setting in High-DPI modes. There’s a volunteer who has been slowly working through the known DPI issues, but hasn’t gotten to this one
  • No support request and bug report here, only unconditional praise and worship

    2 Topics
    7 Posts
    Maddox ArmstrongM
    @FreeMeow I goon to Notepad++ :P
  • Share personal tips and cool uses for Notepad++, and similar

    63 Topics
    243 Posts
    David Brigden52D
    Seems they decided that it they couldn’t be the heroes, rhat they would be the villains.
  • Computer/Programming Jokes are welcome here

    59 Topics
    190 Posts
    Lycan ThropeL
    @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]