Categories

  • Announcements regarding our community

    335 Topics
    5k Posts
    xomxX
    @donho said: Note that I noticed a crash of this RC while I typed “Notepad++” after canceling the save of change.log on “C:\Program Files\Notepad++”. However, I can no more reproduce it. If you guys can reproduce the crash steadily, please report it here. This problem has been fixed in the latest master, thanks to @donho .
  • 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
    guy038G
    Hello, @Roberts-Rozis, @Peterjones, @dennis-bulgrien, @coises and All, @Coises, I did some tests with my D USB key and with your Search++ plugin and the following generic regexes solve the problem nicely : So, @Roberts-Rozis and @dennis-bulgrien : Select The Plugins > Search++ > Search in Files... option Select your média (C, D, … ) on the left and don’t forget to check the Subfolders option and, possibly, the Hidden files option Select the Reg. exp. option for the Filter : type In the filter box : • For a search of any file, even WITHOUT extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+ • For a search of any file, WITH an extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\..+ • For a search of any file with the EXACT extension 'txt' or 'log' or 'ini', between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\.(?:txt|log|ini)$ You may also add a size and/or a date condition Of course, check your desired search options Finally, click on the Find in Files button IMPORTANT : Replace the letters N and M by true digits, with the condition N <= M. The M value may be missing ! The syntax of these regexes are specific to the Search++ These regexes allow any search in an arborescence, from level N minimum to level M maximum. However : You may search from level 0, if necessary You can go through all the structure with the 0, or the N, syntaxes Note that you can simulate the Search++ filtering mode by using one of the regexes below, directly in Notepad++ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+$ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\..+ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\.(?:txt|log|ini)$ Against the text below, that you’ll paste in a new tab : 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.txt abc\def\ghi\jkl\012.txt abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.ini abc\def\ghi\jkl\012.log abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt LICENSE abc\LICENSE abc\def\LICENSE abc\def\ghi\LICENSE abc\def\ghi\jkl\LICENSE abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\LICENSE You may also try, for example, the cases {0,3} or {0,} or even {4,}. Enjoy ! Best Regards, guy038
  • 10k Topics
    55k Posts
    PeterJonesP
    @andrecool-68 said: All the mark of the web looks okay, and all the files are in the right place. I am not sure why it’s not working for you. With a similar installation, but 64-bit, I have no problems with Plugins Admin Admin mode: ON Can you try running not as administrator. That can sometimes mess up permissions, so maybe for some strange reason, your Admin has been denied privilege on one or more of the DLL or EXE files mentioned? installing the 64-bit 8.9.8 on that machine, instead of 32-bit, and see if it behaves the same? confirm that you don’t have this problem with v8.9.7 on the same setup First few experiments on my end: 8.9.8-64bit, non-Admin: my daily driver, and I use Plugins Admin frequently: [image: 1789590084696-dc568790-b6ce-4a3c-aaaa-422d9f5937c8-image.jpeg] 8.9.8-64bit, Admin: [image: 1789589967329-aeeef823-c099-463b-b884-00b51add713b-image.jpeg] 8.9.8-32bit, Not Admin: [image: 1789589989950-e94d8be8-7ade-4530-8536-01033d4d4e35-image.jpeg] 8.9.8-32bit, Admin: [image: 1789590011468-5247e7c8-2097-41fe-ad98-0ed554c34815-image.jpeg] So, so far, on my Win 11 machine, I cannot replicate with 64-bit or 32-bit, admin or no, with the portable (or the installed, for 8.9.8-64) Update Virtual Win 10 machine: Portable 32-bit: Plugins Admin is there, whether normal run or Admin Portable 64-bit: Plugins Admin is there, whether normal run or Admin Installed 64-bit: Plugins Admin is there, whether normal run or Admin Installed 32-bit: Plugins Admin is there, whether normal run or Admin [image: 1789591116798-5959e708-0015-4e87-8f3a-50f4928df7b7-image.jpeg]Notepad++ v8.9.8 (32-bit) Build time: Aug 23 2026 - 17:20:01 Scintilla/Lexilla included: 5.6.6/5.5.3 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: ON 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: 1024x666, scaling 100% visible monitors count: 1 installed Display Class adapters: 0000: Description - VirtualBox Graphics Adapter (WDDM) 0000: DriverVersion - 7.1.8.18469 OS Name: Windows 10 Home (64-bit) OS Version: 22H2 OS Build: 19045.5854 Current ANSI codepage: 1252 Plugins: mimeTools (3.1) NppConverter (4.7) NppExport (0.4) I tried to get as close to your setup as I possibly can, and I still cannot replicate your problem. If what I have suggested to you to try doesn’t help, then you’ll have to wait for someone else to have some ideas. Good luck,
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC
    @guy038 said: Personally, your concept of a default scope bothers me a little, because it’s hard for me to know, in advance, which actions will be automatically selected by the plugin ! (It occurs to me that perhaps I should call it “adaptive” rather than “default” scope. Within the program code I called it “Smart,” but by the time I got the help and UI together I decided that word sounded too pretentious.) The uncertainty about what action a button will perform bothers me, too. I’m still trying to think of a way to mitigate that. I think the idea of an adaptive scope is useful, but I don’t like that you can’t confirm what actual command a button with adaptive (default) scope will perform at a glance, before clicking it. You just show six one-letter buttons and two one-letter button for the replace actions, as below : |F| |C| |A| |S| |M| |H| : Find Count find All Select Mark sHow |R| |A| Replace replace All All these simple-design buttons would open a common dialog box, in which the selected action — one of the eight possible options — would be already selected by default. This dialogue could be based on the table shown above ! Then, you’ll just have to check your present scope and extent choices for the chosen action Optionally a message, summarizing everything that has just been selected, could be displayed Then, this new dialog would end with three buttons : A Define button to attribute a default configuration ( scope and extent ) for the chosen action, without any execution. A Run button to start the chosen action, without any default configuration to apply to And, of course, a Cancel button, or an hit on the ESC key, to dismiss the chosen action In other words, no more drop-down menus ! Instead, a new configuration dialog to confirm the default scope and extent values of the chosen action AND / OR the execution of the chosen action, with the present options checked in the scope and extent sections There are surely some drawbacks to my proposal ! Anyway, what’s your feeling about this radical change ? At first I thought you meant every single action would require clicking a button, looking at a dialog to verify the options are what you want, then clicking a button in the dialog to actually do the action. What is now Find, Find, Find would become F, dialog opens, check defaults (change them if wrong and Define), Run, F, dialog opens, Run, F, dialog opens, Run. That would be way too much interruption of flow for a user doing simple things. Of course, you could, in one go, click first on the Define button, then click on the Run button Since this implies that Define does not close the dialog, perhaps you also intend that Run does not close the dialog. That would allow for repetitive actions, at the expense of having this dialog (in addition to the main Search++ dialog) on the screen while doing them, and having to click another button to close it after the last or only action. I’m sorry, but it sounds to me as if it would be very clumsy to use. Dialogs are even more of an interruption than menus. It would also defeat the purpose of a docking dialog if another dialog has to be raised to actually do anything… unless it is also docking… In my opinion, the main buttons must do something that’s usually useful with a single click. To what degree that should be “adaptive” (e.g., in selection when there is a “large enough” selection) is debatable: adaptation increases the chance that you can do what you want with a single click, but also increases the chance that what a single click does won’t be what you expected. I think six buttons under the find box would be too busy, making it harder for the user to immediately identify and click the desired button. A busy layout doesn’t bother me as much with something like the Settings dialog (which, I admit, is horrible) that you don’t open often, but for something that’s meant to be used frequently, maybe even kept open in a docking panel, visual simplicity is important. For what it’s worth, you can get some aspects of your idea now. Just use Shift+click on each drop-down menu to choose a command that does not use default scope as the command for the button. Click the button when you want to Run what you already have set. If you want to Run a different command, select it from the drop-down. If you want to Define and Run a different command, Shift+click it in the drop-down. (There is no equivalent to Define without Run.) Additionally, in the Settings dialog you can uncheck Default commands automatically search within selections. and Default commands automatically search within marked text. to disable the adaptive mechanism, so that default scope is always Whole Document and even if you select a plain command (Find, Count, etc.) Search++ will never infer anything other than Whole Document.
  • 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

    96 Topics
    566 Posts
    F
    作者的大黑几把干的我豪爽。啊啊啊啊啊要去了。
  • 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]