Categories

  • Announcements regarding our community

    341 Topics
    5k Posts
    M Andre Z EckenrodeM
    @donho said: You can increase the width of Find dialog. Yes, I can, and even do — up to the width of my screen, and/or the confines imposed by other applications etc. that I need to keep visible on my screen while I work in NPP. More often than not, I have NPP occupying only the right half of my screen, with one or more other applications with data I need to refer to occupying the left half. And yes, of course, the Find/Replace dialog occupies its own space independent of the where the main application window is, but there’s almost always a trade-off for me because I use lengthy FIND WHAT and REPLACE WITH strings so often, and either the dialog ends up covering something else I need to see, or I’m unable to view my find/replace strings in their entirety anyway because I’ve run out of available width for the dialog. Having both combo boxes be as long as they possibly can be helps.
  • 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

    5k Topics
    23k Posts
    PeterJonesP
    @Olli-B. said: When using the S+R popup, nowadays the second navigation item when using Tab (as we all do, I think), is the checkbox - at least for me it seems new Lots of people have already complained about this, including multiple in the 8.9.9.1 announcement, here, here, and here; as well as two issues, #18639 and #18662 . The code has been updated, so the order will be changed in the next version, so that one TAB from FIND is REPLACE, as it used to be.
  • 10k Topics
    55k Posts
    PeterJonesP
    Notepad++ should update the session when you close the file inside Notepad++, so that when Notepad++ exits, it should remember to not have the file in the session the next time. I’ve never personally seen that fail, in 15+ years of using Notepad++. If Notepad++ is in multi-instance mode, the instance that saves the session might not be the one you think. I see you have it default to mono-instance mode, based on your Debug Info. But do you ever use the “move to new instance” or “clone to new instance” commands, to have multiple Notepad++ windows open at once? If you do, then only one of them gets to save the session, so files you close in a second instance would not be removed from the session. If you only ever have one Notepad++ window open, then that’s not the culprit. My other guess is somehow you have a permissions issue on session.xml. As an experiment: Exit all open Notepad++ windows. Look at %AppData%\Notepad++\session.xml properties (Right Click in Explorer, then Properties), and look at the last-modified time, as well as the Security tab’s permissions section for your user (or for USERS in general, if your user isn’t listed in the choice box): make note of the last-modified time , and make sure “read only” is not checkmarked. [image: 1795190652610-effba03f-4f20-4de5-a4bb-ccc550f75edb-image.jpeg] Make sure your user has write-permission to the file [image: 1795190669034-3702b1ed-44d7-46d6-b6fe-b92ba7655ecb-image.jpeg] Run Notepad++ Close one of the tabs in Notepad++, so it should remove it from the session. Exit Notepad++ Look at %AppData%\Notepad++\session.xml properties again, and see if the last-modified time has updated. If it’s not been updated, then Notepad++ is, for some reason, not writing to the session file. Run Notepad++ again, and see whether the closed file is still closed, or whether Notepad++ re-opened it. If that works, then the system as a whole should be working, so maybe it will work from now on. If it doesn’t work, then tell us where in the process it diverged from expected behavior (screenshots of the properties, similar to mine, would be nice)
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    D
    Thanks for sharing this, FalcoNefasto. The lazy loading approach sounds like the right call for large XML files — a full tree built up front is usually what makes these tools slow. The well-formedness checker with clickable line jumps also looks genuinely useful; that is the part I would use most when editing config files by hand. One question: how does it handle files with namespaces or very deeply nested elements? I will give it a try on a few of my larger files and report back if I spot anything.
  • Security shouldn’t be the privilege of rich people

    76 Topics
    377 Posts
    PeterJonesP
    same user also posted similar in this issue in comment in #17480
  • 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

    99 Topics
    572 Posts
    M
    How would you like a shortcut definition UI to be designed then?
  • No support request and bug report here, only unconditional praise and worship

    3 Topics
    9 Posts
    F
    @Maddox-Armstrong said: @FreeMeow I goon to Notepad++ :P 666还有蜥蜴人
  • Share personal tips and cool uses for Notepad++, and similar

    63 Topics
    244 Posts
    S
    That’s a clever little experiment! I never really thought about using regular expressions to represent mathematical patterns like multiples of 3, but it makes sense when you look at the binary sequence. Definitely a fun way to explore just how powerful regex can be beyond ordinary text searching.
  • 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]