Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • A

      Ahem - I want to rant

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      3
      -4 Votes
      3 Posts
      314 Views
      A
      @PeterJones Ahem. UKRAINE SHALL BE BURNED TO THE GROUND AND A NEW UKRAINE, ONE MORE OPEN TO RUSSIAN INFLUENCE, SHALL RISE IN ITS PLACE!
    • S

      Anyone Here Use Notepad++ for Large Files?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      227 Views
      S
      @Mark-Olson That’s really helpful, especially the point about a huge single-line file being slower than a much larger file with shorter lines. I hadn’t considered that line length could make such a big difference to Notepad++ performance. I’ll definitely take a look at the Large File Restriction setting and the HugeFiles plugin as well. Thanks for sharing all these details!
    • Laurie StearnL

      PHP Lang: Word vs Keyword

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      309 Views
      Laurie StearnL
      @PeterJones Good info on StyleID, thanks.
    • F

      Plugin trust chain: unsigned DLLs, hash-only verification, and a writable plugin directory

      Watching Ignoring Scheduled Pinned Locked Moved Security security, 披露因素, trust
      3
      0 Votes
      3 Posts
      504 Views
      PeterJonesP
      same user also posted similar in this issue in comment in #17480
    • F

      Uninstall keeps user config: what survives a 'clean reinstall', and why it matters

      Watching Ignoring Scheduled Pinned Locked Moved Security security
      3
      0 Votes
      3 Posts
      228 Views
      PeterJonesP
      same user posted similar in this issue #10923 comment
    • CoisesC

      NPPM_GETCURRENTVIEW vs NPPM_GETCURRENTSCINTILLA

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      353 Views
      CoisesC
      @rdipardo said: I would point only out that the documented return value of NPPM_GETCURRENTSCINTILLA is not supported by the actual implementation; the FALSE-returning code path contradicts the statement that this API “Returns always True [sic]”. Technically so, though the FALSE value only happens when the caller sends an invalid parameter (LPARAM null, when it should be a pointer to an int). There’s also the additional result value of -1, which is documented, but which a comment in the code says “cannot happen”; the equivalent doesn’t exist in NPPM_GETCURRENTVIEW. What troubled me, though, was that the two calls base their responses on different things. I made some attempt to search the code. As best I could tell, the connection between Notepad_plus::_pEditView and Notepad_plus::_activeView is… haphazard. Even though they sound like they represent the same information in different forms (an integer that represents the main or secondary view as 0 or 1, and a pointer to one of two ScintillaEditView structures that represent the main and secondary views), I can’t “prove” that they always change together. So I cannot be certain that they do not represent different information, used for different purposes. If NPPM_GETCURRENTVIEW were meant merely to supersede the older, clumsier-to-use NPPM_GETCURRENTSCINTILLA, one would expect it to have been based on the same code (if for no other reason, for clarity). I couldn’t find any explanation of why this call was created or what problem it was meant to solve. So I was hoping perhaps someone would know and remember the rationale for the newer call and/or the purposes of the two different variables on which the calls are based, and could tell me either “they’re the same thing, use whichever you like” or “here is the situation in which they can return different results.”
    • Patrick DanileviciP

      Save as .md default

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · markdown
      14
      0 Votes
      14 Posts
      14k Views
      MarkusBodenseeM
      @myfancytextgenerator said: One small caveat worth keeping in mind: this covers the default language of new documents, not the file-type list in the Save As dialogue — the langs.xml tweak described earlier in this thread is still the way to get a dedicated .md entry there. Sorry… but this is just not true. It is implemented even longer, since Aug 2024, than the latest update. See Issue #11096 and PR #15490
    • Troglo37T

      Is There A Way To Retrieve My Settings

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      766 Views
      PeterJonesP
      @Troglo37 , It’s much too late now, but for “open all tabs”, Notepad++ has the session.xml.inCaseOfCorruption.bak, which should be one version of your session file out of date (for example, my session file is dated yesterday at 7:13pm, and my corruption-backup is from 2:37pm that same day). So, in the future, if you open Notepad++, and it doesn’t have all your old session files open, before doing anything (before closing Notepad++ or trying to save or load anything), make a copy of session.xml.inCaseOfCorruption.bak to tryme.session.xml so it won’t be overwritten, exit Notepad++, rename session.xml to bad-session.xml, copy tryme.session.xml to session.xml, and start Notepad++: that should take your in-case-of-corruption session as your active session … so if the previous time you exited and started was good, you should be back to that session. That won’t fix your corrupted stylers (colors). Unless you had a recent change in one off your Style Configurator settings, I am surprised Notepad++ was trying to write to your stylers.xml, because it only tries to write it if there was a change. But maybe the reboot process confused some bit in memory making Notepad++ think it needed to.
    • Charles BillowC

      Get/Turn On Wordwrap in NP

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      84 Views
      PeterJonesP
      @Charles-Billow , View > Word Wrap or the toolbar equivalent.
    • T

      Notepad++ crashes after requesting admin rights

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      183 Views
      PeterJonesP
      @ThatsYar_ , Can you share your ?-menu’s Debug Info? Does the same problem occur if you turn off all plugins (using -noPlugin command line option)? Is it for all files that need admin? Or just in one directory? Or just the one file?
    • Steven GuillemetS

      KB5127936 and changes to the Windows 11 context menu.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      220 Views
      PeterJonesP
      @Steven-Guillemet said: Hopefully this will let Notepad++ ditch its current method Until that patch has effectively 100% deployment, Notepad++ should not change its implementation, otherwise it breaks something that currently works for anyone who hasn’t applied that fix. (If there’s a way to make the two methods coexist peacefully, or if there’s a way the installer can test the version and use the appropriate alternative, then that’s great. But if not, then breaking a feature to support bleeding edge is a bad idea)
    • V

      Apex Language is missing under Language Tab

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      322 Views
      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…
    • A

      Portable keeps showing up in "Open With" after I deleted it.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      1
      0 Votes
      2 Posts
      293 Views
      Lycan ThropeL
      @Adam-Harrington , First you can search your Registry file for that phrase E:\Portables\Notepad++.exe %1 or just notepad++ and look for the key/value pairs you find and change them to the new location of your Notepad++ directory. Or search this forum and the FAQ’s list for this information. I searched mine and found it with just “notepad++”
    • donhoD

      v8.9.9 Release Candidate will be available in one week

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      3 Votes
      2 Posts
      950 Views
      donhoD
      The RC will be available before October 30. Sorry for the delay.
    • D

      Cannot Update Plugins

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      664 Views
      PeterJonesP
      @steeve-wick , That’s almost a direct quote of what I said a month ago. Were you trying to add new information?
    • Y

      [Plugin Update] NavigateTo

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development open tabs navigation tabs features
      24
      0 Votes
      24 Posts
      20k Views
      PeterJonesP
      @Screen-White said: I also contribute to that resource We do not allow links to fancy text generators here: every topic that has any becomes a honeypot for more such links, getting low quality posts that pretend to be responses but are actually just spam advertising. If you have something meaningful to say about Notepad++, feel free. But if you post another link to your fancy text generator website(s), you will be banned for spamming.
    • RWieber79R

      NotePad++ crashes using compare plus immediately after clicking compare

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      7
      0 Votes
      7 Posts
      2k Views
      P
      All, Please try and use ComparePlus v3 - it is the latest released version. If you experience any problem with it you could report it directly here or you could write here in the Notepad++ community forum for help and advise from fellow users. I also visit the forum from time to time to check the “news” for our favorite editor :) Good luck and thanks
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      11
      1 Votes
      11 Posts
      2k Views
      Vitalii DovganV
      While we don’t have the released binaries in the official repository yet, here are the latest changes in https://github.com/c-sanchez/npp-smart-math/pull/3: internal improvements and bug-fixes for edge cases preserve the selected SmartMath syntax, either dark or not The latest binaries: 32-bit (x86) version: https://drive.google.com/file/d/17CgRhcUds0wSrN4kyHLToZAGYeeLgBIo/view?usp=drive_link 64-bit (x64) version: https://drive.google.com/file/d/1rch-lkp-0WJt4Gpgw9BOmV7fJFQi1EVV/view?usp=drive_link And here is something completely new. An online version of SmartMarth! https://d0vgan.github.io/AkelPad-Smart-Math/
    • C

      Can't access notepad++ website or use the update function within Notepad++ from our Azure Virtual Desktop environment

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      116 Views
      No one has replied
    • Arí Ricardo OdyA

      Mark lines with blue balls and jump between them

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      16
      0 Votes
      16 Posts
      14k Views
      T
      hello, try to navigate: Search -> Bookmark -> Next bookmark <F2> tomas