Categories

  • Announcements regarding our community

    336 Topics
    5k Posts
    donhoD
    FYI: the auto-update is triggered for this release.
  • 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
    23k Posts
    PeterJonesP
    @rdipardo , I got a statement of sorts in regard to this request, specifically, this comment: Using AI to create a PR for an open source project - is it a good thing or a bad thing? I have no judgement on that. For me, the only criterion that matters is whether the merged code will be maintainable in the future. On this point, I have to say that AI-generated PRs (I can usually tell during code review), often do not meet the critera in their current state - but many human devs don’t either.
  • 10k Topics
    55k Posts
    deleeleeD
    @Alan-Kilborn said: @deleelee 9 is single digit and 12/14/22 are each two digits. Thank you, that’s exactly what it was.
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    guy038G
    Hi, @coises, I’ve just tested your new v.0.7.1 release ! Let’s suppose that we marked the occurrences of the word test in the text below, that you’ll paste in a new tab : bla blah This is the test to do bla blah test bla blah And that we checked the Bookmark lines when marking text (Shift: configure option, in the Tools menu => The line 4 and 7 are bookmarked and the two occurrences of the word test are marked In an old post, I said that, in order to get the complementary regex, we had to use the ^((?!test).)*$ regex as below : [image: 1791107802156-47217b17-e9ac-499b-9779-b14417deb58c-image.jpeg] Luckily, there’s no need to find out this complementary regex, anymore : First, mark all the occurrences of the word test. [image: 1791107259932-d77b5da7-0dfe-4d8f-a5a4-d8650672eb92-image.jpeg] Right-click within the bookmark margin of N++ and choose the Inverse bookmarks option. [image: 1791107420417-022b778b-1455-4dd8-85be-3938d80c0dcf-image.jpeg] Then, go to the Synchronize marks and bookmarks option of the Tools menu and choose the Mark all text in bookmarked lines and clear other marks option => You should get this snapshot : [image: 1791107447162-b7c6ec3a-3e72-4e1a-b229-52ee2bc7a638-image.jpeg] Which correctly bookmarked all the lines not containing the word test and then marked all contents of the bookmarked lines, including the EOLs, as well ! I tested, both : The Bookmark lines with marked text, and clear other bookmarks option VS the Add bookmarks to lines with marked text option The Mark all text in bookmarked lines, and clear other marks option VS the Add marks to all text in bookmarked lines option And, if I understand you correctly, you mean that the Synchronize marks and bookmarks sub-menu, in your future release, will look as below : Bookmark lines with marked text, and clear other bookmarks Bookmark visible lines, and clear other bookmarks Mark all text in bookmarked lines, and clear other marks Add bookmarks to lines with marked text Add bookmarks to visible lines Add marks to all text in bookmarked lines Yes, that’s totally coherent : The first three items do a clear operation whereas the last three items simply add bookmarks / marks to the existing layout ! Best Regards guy038 P.S. : Just a random question about regex. In the sample of text above : If I try to mark the \z regex with your plugin, I do get the bookmarkred line 10, which is the final empty line of the text If I mark all the occurrences of the (?-s)^((?!test).)*\R regex => All lines, but lines 4, 7, 10, are bookmarked and text with EOLs, in lines 1, 2, 3, 5, 6, 8, 9 is marked However, marking all occurrences of the ^(?-s)((?!test).)*\R|\z regex do not bookmark the final line 10, nor the (?-s)^((?!test).)*$\R? regex and nor the (?-s)^((?!test).)*(\R|\z) regex ! Not important, though. Do you have an explanation ?
  • Security shouldn’t be the privilege of rich people

    74 Topics
    371 Posts
    xomxX
    @donho There seems to be another one: notepad-plus-plus . app I reported this too. GH issue: NPP brand impersonation website serving malware #18398
  • 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

    97 Topics
    567 Posts
    К
    Авторы мудаки, что за сука Слава Украине, ебанные уроды. Нашим стоит этим говном не пользоваться, пусть дальше свиноте хрен зализывают.
  • 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
    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]