• Notepad++ release 8.9.9

    Pinned Announcements
    19
    4 Votes
    19 Posts
    757 Views
    andrecool-68A
    @PeterJones said: I have no such problem: see video: Deleted the folder npp.8.9.9.portable.x64 Unpacked the same archive npp.8.9.9.portable.x64.7z Installed all the necessary plugins Made the necessary settings for notepad++ Added notepad++ to the context menu via my old bat file And a “miracle” happened: my notepad++ began to behave as expected when opening files and “folders as a project”. I don’t understand what’s going on at all. About a month ago there was a situation where the “manage plugins” menu item disappeared. Can anyone tell me what the problem might be?
  • 0 Votes
    4 Posts
    305 Views
    xomxX
    @Sevens99 I guess that it depends on a specific SW (Windows edition, build, libraries, other installed shell context menu handlers) rather than on a different HW. But who knows. It’s a race condition bug, so everything is possible.
  • Notepad++ v8.9.9 Release Candidate

    Announcements
    34
    6 Votes
    34 Posts
    3k Views
    PeterJonesP
    @tm8544 said: There is a regression in Notepad++ 8.9.9. I saw it already in 8.9.8.1, but I could not pinpoint it at that time. “Regression” means a bug introduced in this version that wasn’t present in the previous version. So if you saw it in the previous version, then it’s not a regression, just a bug. Use Compare plugin, diff since last save (Ctrl+Alt+D) This sounds a lot like this report, which the plugin author is now looking into and tracking in that plugin’s issue tracker. Plugin authors are responsible for investigating bugs/crashes that are caused when using features of their plugins, as they are the only ones who can determine whether the problem is on their end or on Notepad++'s end; bugs/crashes in a plugin should be reported directly to the plugin author.
  • 1 Votes
    20 Posts
    1k Views
    guy038G
    Hello, @coises, I confirm that, if I choose the GDI (most compatible) rendering mode instead of the DirectWrite (default), the spliting action seems to always occur after 78 letters P ! I verified this assumption with, both, the proportional Times New Roman font and the fixed width Consolas font BR guy038
  • [New Plugin] MultiReplace

    Notepad++ & Plugin Development
    90
    3 Votes
    90 Posts
    96k Views
    Thomas KnoefelT
    Hi @guy038, your summary is right. By hard disks I meant the classic ones with spinning platters. SSDs get 4 threads, like your key. MultiReplace asks Windows whether a drive has a seek penalty, which only drives with moving read heads report. Those get 1 thread, CD/DVD drives too, and to be safe also USB disks that don’t answer that question. And thanks for checking the hit counts, good to see all three engines agree.
  • 0 Votes
    8 Posts
    216 Views
    M
    @PeterJones said: Your words said “Distraction Free Mode” without “Fullscreen”. “Fullscreen” is the aspect of DFM that covers the full screen. That is true, but to be fair I’ve also immediately clarified what I meant by “Fullscreen” in the first message : ) I’m assuming operates in Fullscreen mode, meaning it tries to always stay on top Not being a programmer, I can only talk about Fullscreen and Borderless by their observed effects in videogames. From videogame options, Fullscreen and Borderless both cover the entire screen, the only difference is Fullscreen behave as “Always On Top” (almost always), and Borderless doesn’t. Thank you for the Macro, it’s much less hassle than having to run that script manually every time, and I really appreciate it ^_^
  • 0 Votes
    1 Posts
    102 Views
    No one has replied
  • Search++: A work in progress

    Notepad++ & Plugin Development
    219
    7 Votes
    219 Posts
    97k Views
    guy038G
    Hi, @coises and All, You said : Since all you need to do to cancel a selection is to click anywhere in the document, I didn’t figure anything more would be needed. I agree with you that’s not a big task ! I just wanted to point out, that if you want to keep focus on the Search++ dialog, in order to use any other Alt + ... command, I do not see any command which could cancel the selection ! Now, regarding the five shortcuts problem, you’re totally right : my FRENCH keyboard is a standard one and in order to get, for example, the Alt + 1 action, I must use the combination Alt + Shift + 1 ! Now, I do not mind to stay with these Alt + Shift + 1-5 shortcuts ! But, if you find a way to detect the keys themselves, that would be fine too ! BR guy038 P.S. : Sorry for thinking you might have made a mistake when assigning those 5 shortcuts !
  • Anyone Here Use Notepad++ for Large Files?

    General Discussion
    3
    0 Votes
    3 Posts
    200 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!
  • 0 Votes
    4 Posts
    290 Views
    rdipardoR
    @fml2 said: Out of interest: is it possible to configure Notepad++ in a way that the folder marks are also displayed at the last element of the structure? The document’s fold structure is determined by the underlying Scintilla editing component. Notepad++ simply visualizes the fold structure. While some alternative styles can be enabled at the application layer, what you’re requesting would require changes to Scintilla.
  • 0 Votes
    1 Posts
    100 Views
    No one has replied
  • Ahem - I want to rant

    Boycott Notepad++
    2
    -3 Votes
    2 Posts
    237 Views
    PeterJonesP
    Rants like this are only allowed in the Boycott Notepad++ category, so I moved it from a reply in the General Discussion to its own topic here Do not reply to normal discussions with such rants.
  • Mark lines with blue balls and jump between them

    General Discussion
    16
    0 Votes
    16 Posts
    14k Views
    T
    hello, try to navigate: Search -> Bookmark -> Next bookmark <F2> tomas
  • 0 Votes
    1 Posts
    157 Views
    No one has replied
  • 0 Votes
    2 Posts
    172 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?
  • 0 Votes
    10 Posts
    724 Views
    David Brigden52D
    Tabs v spaces As Peter said, the most important part is consistency. Mixing tabs and spaces together makes no one happy. I will throw out a couple arguments for tabs here: Indentation of code, markup language, et. cetera is meant to show the structure of whatever. Tabs are a logical, structural element. Spaces are physical. Different users may want different sizes of indentation. If i want 4 character indentation and my coworker wants 2, tabs can be set to show our preferred width. Seems for the most part that spaces are winning out though.
  • 0 Votes
    2 Posts
    197 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)
  • Surprising regular expression !

    Blogs
    2
    1 Votes
    2 Posts
    2k Views
    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.
  • 0 Votes
    2 Posts
    317 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…
  • 7 Votes
    24 Posts
    30k Views
    Mark OlsonM
    JsonTools v8.6 is now available for download (it’s not up on the Plugins Admin yet, pending my PR to NppPluginList). Major changes: Fixed potential for Notepad++ to hang or crash due to: RemesPath queries with a for loop over an empty array Maliciously crafted schemasToFnamePatterns.json config file RemesPath queries that generate too-deep JSON (which previously could have caused stack overflow) List of 16 most recently used unique RemesPath queries (stored in config file, accessible by menu command) New control in JSON to CSV form, allowing columns to be listed in the order that they occurred in the first record, rather than in alphabetical order