Categories

  • Announcements regarding our community

    332 Topics
    5k Posts
    PeterJonesP
    @Ian-Eales , That sounds more like a feature request than something that used to work but broke during 8.9.7 – so it’s not a regression. The FAQ here explains where requests for new features need to go …
  • 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
    PeterJonesP
    And further to @Alan-Kilborn’s query: you do understand that, while Notepad++ does it’s best to keep unsaved changes in the temporary session-snapshot-and-periodic-backup folder, it does not guarantee that the OS won’t crash, causing the loss of some or all of those files. If you have 1-2 files worth of data loss from that, that’s horrible (as many, many posts have proven, over the years). But you have what is likely a hundred or more unsaved files in that screenshot. Which means if your OS gets in a bad mood, or if something interferes with a Notepad++ update process, you would lose huge amounts of data. Please, for the sake of all that information that I am sure you actually care about, please look into a way to save files to meaningful locations and institute appropriate backups for mission-critical data. Because I’d hate for you to be the next unfortunate soul to lose all their unsaved changes, and the best we would be able to tell you is “maybe try Recuva”. That stinks, for everyone involved (but mostly for you). We have a Backup FAQ to help you make informed decisions about your own saving and backup schemes. And I encourage people to use external backup software, and/or version control software, as appropriate. Please, PLEASE, don’t just continue working with a hundred or more unsaved files, hoping that nothing will ever go wrong.
  • 10k Topics
    55k Posts
    M
    @Coises Thankyou so much, I had two question marks near the end of the code block I was replacing with that I hadn’t escaped, so the code got cut off there. I’d blindly assumed NPP’s find and replace didn’t care about escaping because the code is full of all manner of forwardslashes, colons, and angle brackets and they posed no issue.
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    J
    @dcog989 Thanks for this - if you have any tweaks or updates you’ve made since this comment, let me know!
  • Security shouldn’t be the privilege of rich people

    73 Topics
    367 Posts
    PeterJonesP
    @J-Mark-Barfield , that was not a “regedit”, that was a normal command-line command all those two commands did was run an instance of notepad++.exe without RunAsAdmin privileges, even before you made the change to the executable compatibility settings it was completely unnecessary all you had to do was exit Notepad++ application completely (so it wasn’t running), then do the steps I explained to get notepad++.exe to not run as admin, and then the next time you ran Notepad++ (either using your shortcut or double clicking on the exe or running the exe from the command line normally or double clicking on a text file or right clicking and choosing Edit with Notepad++) would have run Notepad++ not as admin if you didn’t exit Notepad++ first, then the still running Notepad++ instance would still be running as Admin. Changing the exe properties while the exe is running doesn’t magically drop the running Notepad++ out of Admin mode. And thus your right click would not have worked, because the running Notepad++ was still in Admin mode. all you did by doing those extra commands was close the Notepad++ that was running as admin open a new instance that wasn’t running as admin change the exe properties so that it wouldn’t run as admin next time (I understand that you got it working, so you don’t really care at this point. But I don’t want future people to read this discussion, and come to the wrong conclusion that they need to do your extra steps. Those steps were completely unnecessary.)
  • 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

    3 Topics
    8 Posts
    K
    I’m used to ISPF editing, using column based information. (SPFLite is a dumbed down version) I can do most of what I need in there, but N++ fills in holes in ISPF edit. For example, N++ can add, change or delete information across several lines. RegEx is available on ISPF edit, but I’m too busy to learn it. N++ does this much easier.
  • 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]