Categories

  • Announcements regarding our community

    341 Topics
    5k Posts
    andrecool-68A
    @donho The portable version 8.9.9-8.9.9.1 of Notepad++ creates empty directories C:\Users\Uzzer\AppData\Roaming\Notepad++\plugins\config For example, my old portable version 8.8.5 of Notepad++ does not create such empty directories.
  • 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
    Alan KilbornA
    Maybe what is meant here is to be able to start “styling” text on demand. E.g., now I want the text I’m going to start typing to have “Style 3”, then I type some stuff, and now I want to turn off that style and go back to normal. Just a possible interpretation of what OP wants…
  • 10k Topics
    55k Posts
    H
    @PeterJones Forgive me, you’re right. I made a mistake—perhaps my debugging could have been useful, but I just lost my patience (nothing on this damn PC ever works properly; there’s a new problem or annoyance every single day!) In any case, it seems my personal settings had become corrupted; after uninstalling, performing a deep clean, and reinstalling, everything worked as expected—so there’s nothing left to investigate or fix. I apologize for taking up your time unnecessarily. Thanks to everyone.
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    guy038G
    Hello, @coises, @thomas-knoefel and All, For some obscure reasons, one day, my usual USB key for tests was just considered as containing RAW text. I did not even succeeded to reformat it ! So I threw it in the trash and from a ( not too old ) copy of that key, I was able more or less, to reconstruct the original contents of this USB drive ! Now, when I asked Google about “softwares able to search canonical and compatibility Unicode characters”, the IA answer, at the beginning, proposed, among other things, the CLI software ripgrep (rg). Although it does not seem to really treat canonical and compatibility Unicode forms AFAIK, it is quite fast and has plenty of interesting options ! Refer to https://github.com/BurntSushi/ripgrep. The last release is version 16.0 . Download, preferably, the ripgrep-16.0.0-x86_64-pc-windows-msvc.zip archive which is compatible with 64-bit Windows 11 laptops After extraction of the rg.exe software, in a CMD window, run rg -h for short descriptions or rg --help for more details ! Following my usual procedure, I searched for any file, including binary ones as well, of my new USB key, the string Fi, with this exact case, in regex mode and I got these results : Search "Fi" (32 189 hits in 624 files of 1 119 searched) [RegEx: Case] with native N++ v8.9.9.1 Search "Fi" (32 189 hits in 624 file(s)) [1 119 file(s) searched] with MultiReplace v6.2.0.38 32 189 matches in 624 of 1 118 files (Regex, match case): Fi with Search++ v0.8 (x64) And running the DOS command "rg -a --stats Fi", it displayed, at the end : 32189 matches 24492 matched lines 624 files contained matches 1118 files searched 12462212 bytes printed 498369521 bytes searched 0.173930 seconds spent searching 0.573693 seconds total As you can see, the count of matches and the files concerned are identical for these 4 tests However, the number of files analyzed varies : 1,119 for N++ and MultiReplace 1,118 for Search++ and rg.exe I figured out why ! On my D: key, I have only : One directory which is hidden : System Volume Information One file which is hidden : Thumbs.db As the Hidden folders option was unchecked, N++ and MultiReplace did not consider the folder System Volume Information but did take in account the Thumbs.db file ! Whereas, the Search++ plugin and the rg software did not consider, both, hidden files AND folders. Thus, it did not analyse the Thumbs.db, as well ! Consequently, @coises, I suppose that you have enough place to modify the label of the option from Hidden files to Hidden files and folders. Alternatively, you could also decide to add a new option Hidden folders. Do as you like ! Now, I ran the same tests again, on txt files ONLY and there are the results : •==============•==========•========•===========•===============•===============•==========================• | Software | Hits | In | Scanned | First Time | Second Time | Command | | / Plugin | | Files | Files | After Restart | Right after | | •==============•==========•========•===========•===============•===============•==========================• | Notepad++ | 10600 | 311 | 641 | 17 s 25 " | 5 s 32 " | | •--------------•----------•--------•-----------•---------------•---------------•--------------------------• | MultiReplace | 10600 | 311 | 641 | 11 s 80 " | 1 s 78 " | | •--------------•----------•--------•-----------•---------------•---------------•--------------------------• | Search++ | 10600 | 311 | 641 | 16 s 94 " | 0 s 66 " | | •--------------•----------•--------•-----------•---------------•---------------•--------------------------• | rg.exe | 10600 | 311 | 641 | 16 s 69 " | 0 s 55 " | rg -a -ttxt --stats Fi | •==============•==========•========•===========•===============•===============•==========================• Best Regards, guy038 P.S. : Please note that the tests were all conducted BEFORE I wrote this post, which, obviously, modify the results !
  • 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]