Categories

  • Announcements regarding our community

    338 Topics
    5k Posts
    donhoD
    Notepad++ 8.9.9 Release Candidate is available here: https://github.com/donho/notepad-plus-plus/releases/tag/ReleaseCandidate Notepad++ v8.9.9 vulnerability fixes, new features & bug-fixes: Vulnerability: Fix WM_COPYDATA sender authentication bypass. CVE ID not assigned yet Vulnerability: Fix WM_COPYDATA privilege escalation allowing launch plugin commands execution. CVE ID not assigned yet Vulnerability: Fix heap disclosure. CVE ID not assigned yet Vulnerability: Fix TOCTOU risk when saving temp file under UAC. CVE ID not assigned yet Vulnerability: Fix out-of-bounds array access via NPPM_MENUCOMMAND. CVE ID not assigned yet Fix heap buffer overflow in SAML decode of MIME Tools plugin. CVE ID not assigned yet Update to Scintilla 5.6.7 & Lexilla 5.5.4. (Implement #18428) Improve Find in Files performance. (Fix #15248, #13730) Add an option to change dialog font & font size. (Fix #5648, #9914, #10745, #17183) Add an option to display the Incremental Search bar at the top. (Fix #18486) Remember incremental Search options across sessions. (Fix #18484) Enhance the Cliboard history panel UI. (Implement #18531, #18559) Fix files not opening via “Edit with Notepad++” when app path use 8.3 path format. (Fix #18530, report) Fix Document Switcher persistence issues. (Fix #10574, #10950) Fix loss of editor focus when dismissing the Document Switcher with Ctrl+Esc. (report) Fix Clipboard History buffer over-read & truncation of UTF-16 surrogate pairs. (Fix #18519, #report) Fix the current doc hidden due to missing auto-scroll in Windows dialog listview. (Fix report) Fix incomplete repainting of Windows dialog list after resizing then sorting. (Fix #16267) Fix the ESC key not closing Windows dialog after a document is closed. (Fix #18554) Add UDL as a selectable default language for new documents. (Fix #979, #11097, #18325) Detect external file modifications in both views instead of only the active view. (Fix #7581) Add Structured Text language support. (Fix #18365) Fix several memory leaks. (Fixed by #18466, #18467, #18465, #18473, #18482, #18512, #18535) Fix Markdown UDL link highlighting being broken by ‘@’ in the URL. (Fix #18009) Fix Find-in-Files macro playback ignoring empty filters. (Fix #8170) Fix Count and Mark All ignoring zero-length regex matches. (Fix #7896) Fix bugs in Function List for C, TypeScript, INI and PowerShell. (Fix #10162, #18358, #18574) Fix the “inherit” flag for FG/BG not being cleared in Style Configurator. (Fix #14197) Set new UDL to use theme FG, transparent BG, no bold/italic/underline by default. (Fix #18387, #5622, #17054) Fix spurious NPPN_READONLYCHANGED notification when files are deleted. (Fix #16289) Fix call-tip parameter highlighting being confused by commas in string literals. (Fix #8650) Fix missing warning display when deleting files from Notepad++ on Windows 7. (Fix report) Update Python & R keyword lists. (Fix #18464, #18445) TODO: Provide the issue links. The new release will be available in about 7 days.
  • 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
    Alan KilbornA
    @guy038 said: But have you checked this behavior for yourself ? I have not; I’ve been away from my PC. If it’s a bug, either Scintilla or Notepad++, it seems like it should be reported and made official?
  • 10k Topics
    55k Posts
    PeterJonesP
    @vivek-viv , Unfortunately, there are an unknown number of “programming languages” or “data file languages” in the world, and no text editor can syntax-highlight 100% of them out-of-the box. Apex is not available in the syntax-highlighter library that Notepad++ uses, and until it is, it will never be in the upper portion of the Language list. To get it added: A feature request would have to be put into Lexilla, and then the Lexilla team, or external volunteer, would have to code up that lexer, and they would have to accept it, bundle it with the library; then Notepad++ could update to use a version with that, and then and only then, Notepad++ could be updated to enable and list the Apex language in the default menu. I’m not saying it’s impossible… just that it’s not likely to be fast. If Apex were similar enough to another language, then, in theory, the Apex language could be mapped to use the that existing language’s lexer, but given its own list of keywords. However, Notepad++ has the User Defined Language (“UDL”) feature, which allows you to define a keyword-based syntax highlighting – so you can put in various lists of keywords, operators, folding-keywords, and delimiter pairs, and get it to do a reasonable job of highlighting simple syntax in your language. The User Defined Language page, and all the UDL > pages in the manual’s table of contents below it, describe how to use the UDL system. There’s also a community-contributed User Defined Language Collection, where people can share UDL definitions that they’ve made, or find ones to use for themselves. I don’t see Apex there… but if you created one, you could share it there, so that other Apex users I did a quick search, and if this is the Apex you are talking about, then it looks similar to YAML (builtin) – so maybe trying to use the YAML lexer might be an initial workaround. And google search AI tells me that the HAML uses a similar structure – there is a UDL in the Collection for HAML, so you might be able to use that as a reference for how to get something like what you want for Apex. No guarantees, but it’s a starting point…
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    guy038G
    Hi, @thomas-knoefel and All, For these Search Results : Search "Fi" (27 010 hits in 646 file(s)) [1 153 file(s) searched], I got, successively, using your valuable instructions : 1 m 13 s 78, then 1 m 10 s 85 and finally 1 m 11 s 06 when LoadThreads="auto" 1 m 25 s 78 and 1 m 26 s 39 when LoadThreads="0" 1 m 09 s 54 and 1 m 09 s 55 when LoadThreads="8" So, the two tests with LoadThreads="8" seem very slightly better !? Note that : From Laptop documentation, my processor is an Intel® Core™ i7-1165G7 2.80 Ghz (up to 4.7 GHz with Intel® Turbo Boost Technology ) 12 MB L3 cache, 4 cores 8 logical processors From informations système, I saw for Processeur : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2803 MHz, 4 cœur(s), 8 processeur(s) logique(s) Total installed RAM : 32 Gb This explain why I wanted to test with 8 threads. But, may be this assumption is not pertinent ! ? Best Regards, guy038
  • 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

    98 Topics
    568 Posts
    Michel ChasseyM
    Re: You’ve a lot of reasons to hate Notepad++
  • 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]