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
    • donhoD

      Notepad++ v8.9.9 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      34
      6 Votes
      34 Posts
      5k 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.
    • donhoD

      Notepad++ release 8.9.9

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      28
      4 Votes
      28 Posts
      5k Views
      donhoD
      @pnedev Cannot reproduce - it works fine for me. Please create an issue on Github & provide all necessary information there, I (& other devs eventually) will try to reproduce according your information.
    • donhoD

      Notepad++ release 8.9.9.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      26
      3 Votes
      26 Posts
      4k Views
      M Andre Z EckenrodeM
      @donho said: You can increase the width of Find dialog. Yes, I can, and even do — up to the width of my screen, and/or the confines imposed by other applications etc. that I need to keep visible on my screen while I work in NPP. More often than not, I have NPP occupying only the right half of my screen, with one or more other applications with data I need to refer to occupying the left half. And yes, of course, the Find/Replace dialog occupies its own space independent of the where the main application window is, but there’s almost always a trade-off for me because I use lengthy FIND WHAT and REPLACE WITH strings so often, and either the dialog ends up covering something else I need to see, or I’m unable to view my find/replace strings in their entirety anyway because I’ve run out of available width for the dialog. Having both combo boxes be as long as they possibly can be helps.
    • guy038G

      Other thoughts regarding the "ReWrap Text to (Clipboard or 72) width" of the old "TextFX" plugin

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      20
      9
      1 Votes
      20 Posts
      2k 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
    • Robk BlueR

      Tab spacing copying from Notepad++ into WordPress

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      871 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.
    • J

      Duplicate context menu entries

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      0 Votes
      9 Posts
      865 Views
      D
      Glad the second reboot held — that fits with what PeterJones described. Windows 11 does not keep these primary-menu entries in the classic HKCR*\shellex registry keys the way Windows 10 did; the “Edit with Notepad++” entry comes from NppShell.dll through a sparse package registration, and Windows caches that registration, so a stale entry can survive an uninstall and reinstall until Explorer and the shell cache are refreshed by a reboot. If it does come back, the thing I would check before reinstalling again is whether two copies of the shell extension are registered — for example a leftover 32-bit install alongside the 64-bit one, or an old install folder still on disk. Re-running the current installer as administrator and toggling the shell extension off and back on, or following the unregister and re-register steps in nppShell issue 79, is usually enough without a full reinstall. And if it returns after a future update, noting whether the Publisher field in the manifest changed would help confirm it is the same known issue rather than a new duplicate.
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      90
      3 Votes
      90 Posts
      99k 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.
    • andrecool-68A

      Why do the HTML tag plugin command IDs change with each update of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      5
      0 Votes
      8 Posts
      345 Views
      PeterJonesP
      @andrecool-68 said: If you have the constant IDs of this plugin, everything works perfectly, and when switching the language in Notepad++, the context menu also automatically changes to the Notepad++ language. “if”. But they aren’t. And because there is no way that plugins can guarantee specific commandID for Notepad++ menus, and there’s no way for Notepad++ to assign a “constant” ID, that’s not going to happen. (Notepad++ cannot know how many plugins exist in the world, nor how many menu commands each will use; the plugin interface is public, so anyone could write their own private plugin. So Notepad++ cannot allocate fixed commandIDs. I cannot see a way around that which would work in all circumstances.) If you have a plugin like this whose commands translate, you can put in both the English and the Localized version: <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Перейти к соответствующему тегу" /> <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Find matching tag" /> then whichever localization is picked, that one will be in the menu Or, if you want to stick with just having one commandID-based entry per command, then you will have to live with the fact that the commandID can change when you update a plugin, install a plugin, or possibly even when all you do is update to a new version of Notepad++
    • M

      [Feature Request] : "Distraction Free Mode" using "Borderless" mode instead of "Fullscreen"

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1
      0 Votes
      8 Posts
      581 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 ^_^
    • H

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      269 Views
      PeterJonesP
      @hixcube said: Thanks for checking timestamps and permissions. Unfortunately, I very specifically said session.xml, and you reported the information for config.xml, which is a separate file. However, it is promising that config.xml was written properly, because if it has write-permission on config.xml, then it probably also has write permission on session.xml I launched Notepad++ again; all tabs were closed (strangely enough). I opened three tabs. I reopened Notepad++ and found the three tabs I had just opened. I closed one of them, then closed Notepad++. So far, everything is working as expected (after the “strangely enough”, which I cannot explain, because I don’t know what actions you had taken before that point) I checked the properties for the file C:\Users\MyUser\AppData\Roaming\Notepad++\config.xml and noticed a time difference compared to the previous version of config.xml: which indicates that config.xml is writable, and being updated (as it should be). But, unfortunately, the list of files is stored in session.xml, so that’s not the right file to be looking at. Try closing the application using “File > Exit” after removing the tabs, then check whether the files remain closed the next time you launch it. In Notepad++ v8.9.8.1 (64-bit), I do not see the option “Exit after closing tabs”—only “Exit” is available. You mis-interpreted @danielcollins’s statement of “Try closing with File > Exit after removing the tabs”. It was meant to indicate use "File > Exit" after closing one or more of your tabs, not Try closing with "File > Exit after removing the tabs". And your experiment trailed off at this point. You forgot to do my step “7”, where you look one last time, to see if it remembered that you closed the file. That’s the thing that would answer whether or not Notepad++ was working right or not now. Since you started with no files open, added three, and then after the next exit/restart of Notepad++, it still had all three files open, it sure looks like session.xml was working right. But that one last step-7 check was needed to make sure it was properly tracking you closing files as well. I believe it would have, but you didn’t tell us, which makes it hard to continue to help you. However, on one occasion, an option like “Clear list of recent files” (or something similar) appeared, but it has not reappeared since - even after opening and saving files. Near the bottom of the File menu in Notepad++ is Empty Recent Files List [image: 1795362904617-bc99f7b2-804c-422b-9b37-c43afaab267a-image.jpeg] … which will clear out the list above it. However, if you have Settings > Preferences > Recent Files History set to ☑ In Submenu, then instead it will be in a Recent Files sub-menu, with the Empty Recent Files List going before the list of recent files, instead of after it: [image: 1795363045891-42e514ca-cd19-4386-bd6b-36ec7f96b62c-image.jpeg] I will perform a complete (“deep”) uninstallation of Notepad++ using either Revo Uninstaller Pro or Bulk Crap Uninstaller, and then reinstall it. Why in the world would you do that? We hadn’t finished debugging your problem: there were steps we had asked you to take that you hadn’t reported back on, and your answers may have informed further steps. Plus, if those tools (whatever they are) don’t reset the AppData files as well, then they would likely do nothing for your difficulty, other than waste your time. Now, instead, everything will be reset to some completely unknown state. If it works for you, great, but if not, you’ve made it harder for us to help you debug.
    • Troglo37T

      Is there a way to find both alphabets, with and without accents, at the same time, when searching?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      13
      0 Votes
      13 Posts
      2k Views
      guy038G
      Hi, @troglo37 and All, You said : Can someone please simplify the steps needed to accomplish finding accented and non-accented alphabets at the same time? Well, currently, Notepad++ does not provide a simpler method, and it probably never will ! However, @coises could insert the Global Search macro in the code of its Search++ plugin, and define a new option : Unicode compatibility forms ( Refer to https://community.notepad-plus-plus.org/topic/27473/search-a-work-in-progress/133?_=1795380339838#:~:text=Implement “Unicode compatibility forms” matching. This means being able to search,be translated to a regular expression the user would not see). ) When this option would be checked, any plain text would be internally changed into the regex, produced by the described macro, in order to detect any variation of the searched text ! BR guy038 P.S. : BTW, note that the search and replacement values of the Global Search macro were initially found out by @coises, himself !
    • O

      Search and replace window: tab (to navigate) doesn't work as it used to

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1
      0 Votes
      4 Posts
      199 Views
      PeterJonesP
      @DanielCollins said: It breaks muscle memory … Until the next version arrives, the workaround that works for me is to press Tab twice to get from Find to Replace, That’s rather the point of “breaks muscle memory”. They already figured out they had to hit Tab twice, which is why they came to ask about it. One thing I would add: the checkbox Olli circled has no visible label even when the dialog is widened, so even when you land on it on purpose you cannot tell what you are toggling. Hopefully the reordering fixes that too, or the label comes back. there is nothing to “come back”. There was never a label, because that checkbox is brand new to v8.9.9.1. And it won’t ever get a label, because the Find/Replace dialog is too cluttered already, so like the checkboxes next to the FIND and REPLACE and REPLACE ALL IN ALL OPENED DOCUMENTS buttons, there is no label and never will be; instead, the user is supposed to hover over the checkbox, where the hover text explains what the checkbox does. Or to read the manual, which describes all those checkboxes.
    • F

      [New Plugin] XML Tree – FOXE-style XML tree panel

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      2 Votes
      4 Posts
      279 Views
      Mark OlsonM
      @falconefasto Haven’t had a chance to play around with it yet, but I’m the maintainer for JsonTools so I’ve spent a lot of time thinking about and dealing with the various pitfalls that can occur with a tree view of the sort you’re describing. Some thoughts: Does the treenode position work properly when the document contains multi-byte characters? JsonTools parses the document as a UTF-16 string but Notepad++ buffer positions generally assume the document is UTF-8 encoded, so the parser has to take this into account when assigning positions to JSON nodes. Lazy loading is a great idea, but how do you handle a treenode with a lot of direct children? In JsonTools I have a configurable setting for how many direct children a tree node can have, which I arbitrarily defaulted to 10,000. Otherwise the tree can cause NPP to hang even with lazy loading. A context menu that appears when you right-click a tree node seems like a good idea. Off the top of my head, maybe have the options be: select the start tag snap to end tag select the inner XML copy attributes to clipboard recursively expand/collapse all subtrees I can’t give any advice on implementation, since I’ve written all my plugins in C#.
    • F

      Where does "Split Lines" actually split?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu lines columns text
      8
      0 Votes
      8 Posts
      2k Views
      D
      Thanks pbarney, that clears up the part that always confused me too — I had assumed the split used the first edge in the list, not the last number typed in the field. One practical tip from my own use: if there is no space near the split column, Split Lines can break in the middle of a word, so I usually pick the edge based on the text I am editing rather than leaving several edges set. And if a split lands in an awkward spot, Ctrl+J (Join Lines) puts it back quickly, so it is easy to undo and try a different edge setting.
    • R

      No plugin admin since last update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      393 Views
      R
      @PeterJones No block boxes, and all files have read/execute allowed. What I have found is if i install an older version and then work up through the versions to V8.9.9.1 the admin option is there. So all good now but i am none the wiser as to what the iussue was. registry?
    • fml2F

      What is the keyboard shortcut for minimizing/restoring the Find dialog?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      377 Views
      PeterJonesP
      @fml2 said: Oh, I thought each button in each dialogue had a shortcut key… Dialog buttons can have a keyboard accelerator “for free” if the text has an & preceding a character that works. But because that button uses a symbol (that changes) which is not on standard keyboards, that button obviously doesn’t have an accelerator now. As such, extra code would have to be added to give a shortcut rather than accelerator for that button. If that’s something you would like added to the interface, feel free to put in a feature request.
    • S

      Windows 11 constantly crashing when having NP++ installed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      515 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.
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      219
      7 Votes
      219 Posts
      107k 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 !
    • fml2F

      How to fold while at the closing element?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      444 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.
    • R

      [Fork] MarkdownViewer++ (WebView2)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1
      0 Votes
      3 Posts
      214 Views
      PeterJonesP
      Practical feedback When I tried the “undock” button, it crashed the plugin (giving an error message included in a screenshot) – [image: 1795294404964-mv-wv2.error.png] well, maybe the plugin hasn’t crashed, but that action didn’t work, anyway, because it is not showing the undocked window as expected, but Notepad++ was still running. If I re-start Notepad++ after that error, it started with the panel undocked; this is highly repeatable for me. If I CONTINUE after the crash, and toggle the view of the panel, it displays, and for that run, undock and dock will work. Continued experiments show that if it starts undocked (through that button being used the previous time), then the dock/undock button toggle works right; but if it starts a run docked and I click the “undock” button, it will show that error and not show the undocked window until I tell it to show the preview again (or restart Notpead++). This is bad user experience. Second, when it’s successfully undocked via the button, I cannot use the normal Notepad++ docking panel behavior of dragging it to an edge to re-dock. OTOH, if I don’t use the button, but undock by the normal Notepad++ dragging, then I can drag it back to docked just fine. And if I make the mistake of dragging-to-undock, then clicking the button that’s still labled “undock”, it will crash not just the plugin but the entire Notepad++ application. If you’re going to call the feature “dock/undock”, it needs to work the same as the Notepad++ dock/undock, otherwise, it will cause confusion. So, what does that button gain you that the normal dragging does not? If it’s just the button, could you make it compatible with the normal dock/undock, so it’s just two alternative ways to get exactly the same compatible result? Philosophical feedback Just because the code is open-source doesn’t mean the name is freely available. In general, if you’re going to take over an existing piece of software and develop it from your own fork, you either need to get permission to use the name (like what happened with PythonScript and some other plugins), or give it a new name. Misc [deleted some ranting]: sorry, the earlier version(s) of my post were too harsh. I normally applaud anyone who revives an abandoned plugin, even if I do caution them to ask for naming rights or to rename to avoid trouble. But my rant was too strong, this time. See my post here for a comparison of various of the MarkdownViewer++ alternatives in and/or submitted to Plugins Admin at this point.