Categories

  • Announcements regarding our community

    333 Topics
    5k Posts
    K
    @Danny-Duplechian said: @donho I began seeing this message pop up [image: 1787757775487-aef4a424-5de2-405e-86bc-42f5e80462dc-image.jpeg] Why is it suddenly concerned about my network path? And why would it expose my login information, and to who if im in a trusted network from a trusted PC? This prompt pops up on every file I open inside my WSL2 vm. It made using Notepad ++ so frustrating that I downgraded back to 8.9.7. Additionally, clicking always skip or always load doesn’t stop this from re-triggering when closing and opening the same file. I don’t know if that was the intended purpose of those buttons though.
  • 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
    cosmic-hyenaC
    @PeterJones I sent him an email but got no reply. Overall I’m a bit disappointed with this. I think for all his good intentions he’s allowing a strong chance of people accidentally clicking on these malware links, Got nothing more to add. Thanks.
  • 10k Topics
    55k Posts
    guy038G
    Hello, @blake-g.-barrington, @peterjones, @coises and All, Here is my version to get duplicate lines, separated by any number of lines ( whatever they are : true empty lines, blank lines or lines with text ), even zero line : MARK (?-si)^(.+)(?=(.*\R)+\1$) As said by @Peterjones, and after some tests, this kind of regex get into trouble when the bunch of lines, between two duplicate lines, exceeds 15,000 empty lines about ! Now, Let’s suppose you create this text file : first 0002 0003 0004 0005 .... .... .... 9997 9998 9999 10000 first Then the (?-si)^(.+)(?=(.*\R)+\1$) regex returns : Correct result until the number of the in-between lines does not exceed 1,600, with the message 1 match in entire file Correct result until the number of the in-between lines does not exceed 12,000, although the error message Find Invalid Regular Expression ( So F.I.R.E. !! ) occurs ! NO result at all if the number of lines is over 12,000 lines, with, of course, the error message Find Invalid Regular Expression Best Regards, guy038 P.S. : I should add that my Windows11 laptop has 32 Gb of memory !
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    Vitalii DovganV
    The syntax file can be created by means of user-defined language. But how to apply this user-defined language automatically when Smart Math is enabled for the current file/document? OK, sorted it out: call NPPM_GETNBUSERLANG first to get the number of UDLs; then iterate through all the UDLs and call GetMenuStringW; once the menu item string matches my UDL name, I’ve identified my UDL menu id; after that, call NPPM_MENUCOMMAND with the obtained UDL menu id. Here is an example withUDL applied: [image: 1788696158249-d17e9134-3e1a-4b20-b7e9-62b16dbc4eff-image.jpeg] It’s a pity that I can’t make the keyword colors (such as function colors) to be dependent on the active color theme/style. I mean, for dark color themes these keywords in blue look too dark, so the color must be changed for dark themes.
  • Security shouldn’t be the privilege of rich people

    74 Topics
    370 Posts
    Lycan ThropeL
    @donho Reported to both sites per your request to help keep the community safe.
  • 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
    563 Posts
    P
    “400k severly wounded ukrainian soldiers”, sorry.
  • 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]