Categories

  • Announcements regarding our community

    336 Topics
    5k Posts
    R
    @PeterJones Oh!! Understood!! thank you!!!
  • 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
    Thomas KnoefelT
    Thanks a lot @guy038 for running the whole thing again, this time it didn’t finish in seconds ;-) Nice to see the results panel still usable with almost 10 million hits, even the jump to line 690 in that DLL at the very end. Interesting that walking the whole drive for those 130 PDFs takes almost the entire run, 5m45 of 5m48 for MultiReplace, and it’s the same picture with the other tools. The 4 “not decodable” are most likely UTF-16 files with an odd number of bytes. N++ simply drops the last byte there, the next MultiReplace build will do the same in Find in Files (Replace leaves them alone, writing them back would lose that byte). Speed is next on my list.
  • 10k Topics
    55k Posts
    mpheathM
    @Timothy-Baxendale Need care not to interact with the buttons that do multiple documents. A not so ideal solution as it is external could be to use an AutoIt script to monitor and disable these buttons. ; Window title and text of the button. Global $aWnd[2][2] = [['Find', 'Find All in All &Opened Documents'], _ ['Replace', 'Replace All in All Opened Doc&uments']] ; Keep looping as persistant disabling of the buttons is needed. While 1 While ProcessExists('notepad++.exe') For $i1 = 0 To UBound($aWnd) - 1 $hWnd = WinActive($aWnd[$i1][0], $aWnd[$i1][1]) If $hWnd Then If ControlCommand($hWnd, '', $aWnd[$i1][1], 'IsEnabled') Then ControlDisable($hWnd, '', $aWnd[$i1][1]) ExitLoop EndIf EndIf Next Sleep(500) WEnd Sleep(1000) WEnd The window title text and button text needs to accurate. This text is based on the default English locale. The loops will continue running. If need to pause and use the buttons, then the icon in the System Tray will pause the script on click. Click Script Paused to uncheck the item to continue with disabling the buttons. Click Exit to end the script. The AutoIt interpreter and compiler are located: https://www.autoitscript.com/site/autoit/downloads/
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC
    @guy038 said: I noticed a bug regarding the default style which is wrongly changed why you simply left clicking on any option Then, I right click in the search zone of Search++ and chose again the bla word. Now, the first command used changes the default setting ! Thank you for noting this. I can reproduce it. Any right-click in a Find or Replace box causes the next click on a search command drop-down or the Tools menu to behave as if it were a right-click. I will figure out why that is happening and fix it. If I understood you correctly, when the Bookmark lines when marking text option is unchecked, Search++ ignore totally the Bookmark feature. Thus, it just up to you to add / remove MANUAL bookmarks to some lines, if needed ! Right. The one exception is Synchronize bookmarks to marked text, which works whether Bookmark lines when marking text is checked or unchecked. My intent is that people who don’t typically want Search++ disturbing their bookmarks can still use Synchronize bookmarks to marked text after a Mark command, rather than having to change a setting before the Mark, which they would then have to remember to change back. However, I think the lack of an option to add bookmarks but not remove any might limit its usefulness, so I might change it in one way or another. It honors the every line / first line policy, so perhaps it should honor add/synchronize too, but then it would no longer be always a synchronize, and it would do nothing if the Tools option were “Do not add or remove bookmarks”… There’s definitely a design flaw here. Now, basically, a Mark command : Case 1 : can mark text Case 2 : can mark text and bookmark lines Case 3 : can un-mark text Case 4 : can un-mark and un-bookmark lines Thus, I suggest this new dialog : Search++: Configure bookmarks ☑ Bookmark lines when marking text. Bookmark policy ◉ Bookmark every line containing marked text. ○ Bookmark only the first line of each match or selection. Tools menu ☑ When a Mark command adds existing marks to text, also add bookmarks. ☑ When a Mark command removes existing marks from text, also remove bookmarks. Invert option policy ○ Invert the marked text and bookmark the concerned lines ◉ Invert the bookmarked lines and mark the concerned lines [OK] [Cancel] What is your feeling about it ? The existing When a Mark command removes existing marks from text, also remove bookmarks check box applies to Mark commands when Always unmark all text before Mark command. (Otherwise add to existing marked text.) in the Settings dialog is checked. That’s the only time a Mark command ever removes marks from text. It’s possible this shouldn’t even be an option (operating as if it were always checked) since Bookmark lines when marking text must also be checked, but I thought there might be the occasional person who would want to uncheck it. The choice under Mark tools applies to commands from the Tools menu (except Synchronize bookmarks to marked text) and has nothing to do with Mark commands. My wording needs more clarity; or possibly the problem is that the selection of available choices doesn’t make sense, and that’s why it’s hard to convey. Regarding the proposed Invert the bookmarked lines and mark the concerned lines: the command would clear all marks from text, invert the bookmarks, then mark every character in every line that was bookmarked? Does that include or exclude line endings? What does it do if Bookmark only the first line of each match or selection is in effect? I’m really tight on available menu mnemonics (the underlined letters) and memorable shortcut keys on the Tools menu, to the point where adding much more will mean I either have to remove something or use sub-menus (with limited shortcut possibilities): but this sounds more like it should be a separate command than a setting that changes how Invert marked text works. In that case, though, since Inverse Bookmarks is already a Notepad++ command, I wonder if something else (like Mark or Select all text in bookmarked lines) would be more versatile? I shudder to invent yet another conditional search, but maybe Find All / Select / Mark / Show in Bookmarked lines is what is really wanted here. (And then that leads to wanting to bookmark lines containing a match without bothering with marking the text…) I will take ideas from your dialog, but it doesn’t quite represent the options that are available now. Invert and the implications thereof I am still thinking about. Why not make the entire menu, under an unchecked Bookmark lines when marked text option, gray, in this new dialog ? Putting it at the top and disabling the options when it is not checked would help clarify the relationship between it and the other settings, but there is one problem: the “Bookmark policy” (”every line” or ”only the first line”) applies to Synchronize bookmarks to marked text, which works even if Bookmark lines when marking text is not checked. (Again, this could represent a design flaw.)
  • 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]