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.8.2 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      36
      3 Votes
      36 Posts
      24k Views
      B

      Just to mention, for people using Intune to deploy notepad++. if you activate the “managed installers” option, any apps not signed wil lbe signed with a valid certificate and therefore users don’t have popup for the “unknown publisher”. I think you can do the same with SCCM. Will not help regular users, but jsut in case.

    • donhoD

      Notepad++ v8.8.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      20
      6 Votes
      20 Posts
      1k Views
      donhoD

      @xomx said in Notepad++ v8.8.3 Release Candidate:

      Maybe I’m a little bit lost in all that RC versions, but now I dl again the RC4 ones x64 installer and it’s signed like the above statements, which is just wrong, isn’t it? (should be with https instead):

      The use of “http” instead of “https” wasn’t a mistake - that’s simply how it was done. You can check other digitally signed programs to confirm this.

      In RC5280 “Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile”, Security Considerations section:

      CAs SHOULD NOT include URIs that specify https, ldaps, or similar schemes in extensions. CAs that include an https URI in one of these extensions MUST ensure that the server's certificate can be validated without using the information that is pointed to by the URI. Relying parties that choose to validate the server's certificate when obtaining information pointed to by an https URI in the cRLDistributionPoints, authorityInfoAccess, or subjectInfoAccess extensions MUST be prepared for the possibility that this will result in unbounded recursion.

      ref: https://datatracker.ietf.org/doc/html/rfc5280

    • Jonathan JohansenJ

      Hi and I'm working on a WPF fork of NppCSharpPluginPack

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      18
      1 Votes
      18 Posts
      1k Views
      Jonathan JohansenJ

      I figure I’d better document the solution(s) for others that may tread this path. A summary of some of the steps needed (of course built on top of Mark’s work!):

      Ensure you register your modeless dialog with NPP (NPPM_MODELESSDIALOG, in Main.cs we call NppFormHelper.RegisterFormIfModeless(Form, bool)) The WPF System.Windows.Controls.UserControl should be in an System.Windows.Forms.Integration.ElementHost, which is in a System.Windows.Forms.Form. I’ve subclassed the ElementHost to handle WM_SHOWWINDOW to update the Visible property, and to trigger a (slightly delayed) refresh of the visuals when we get a WM_SIZE. There I invalidate the visuals and update layouts. There may be a way to skip this, but it’s working, so I’m not trying to fix it. In the WPF UserControl, when it’s Loaded, we have to get the presentation source (as a HwndSource) and add a hook to respond to the WM_GETDLGCODE and tell the source that we DLGC_WANTCHARS and DLGC_WANTARROWS, and maybe we also need DLGC_HASSETSEL.

      I’ve pulled most of it into a method called MakeModelessDialog. And now for a short recording of it working!

      2025-06-28 Typing in Notepad++ modeless WPF dialog works.gif

    • Murray Sobol 1M

      8.8.2 - coming soon??

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      16
      0 Votes
      16 Posts
      3k Views
      xomxX

      @rdipardo said in 8.8.2 - coming soon??:

      edition in a user-local path

      I already checked such possibility (for N++ installer, not for portable eds) and have the non-admin user-installations on my TODO, but so low spare time… (#15182)

      @rdipardo said in 8.8.2 - coming soon??:

      can still have context menu entries — scoped to HKEY_CURRENT_USER by default

      Very good. I think the NppShell project should take this into account somehow and allow the HKCR registrations when needed/requested. This HKLM default is(?) IMO the reason for a possible regsvr32 zombie process when trying to register the NppShell manually & unelevated (#15182)

      @Coises said in 8.8.2 - coming soon??:

      I don’t think I’ve ever used a package manager.

      But OTOH you also said that for some SW (Firefox) you allow (welcome(?)) the autoupdates. Such package managers do just that - they remove the burden from the user to constantly check and update their software (even for a portable non-admin user-installation), but at the same time they leave them free to enter this process (if they wanna) and therefore it is not completely hopeless like with the locked stores like WindowsStore or GooglePlay. One example - with the WinGet you can go simply back in the app-versions if you need to (as you do with your “Software\Old”), this is of course impossible with e.g. the GooglePlay (damn hell to them for it!).

      SW-updating “world” just changed and not everything is so bad. So e.g. the WinGet (or more user friendly WinGetUI) way is ok for me (I am not using it for N++, I do it old-school as you do, I admit :-) ). Some relevant links:

      https://community.notepad-plus-plus.org/topic/24884/winget-real-autoupdater-finally
      https://github.com/microsoft/winget-pkgs/tree/master/manifests/n/Notepad%2B%2B/Notepad%2B%2B

    • donhoD

      Fighting Malicious Ads on Download Pages

      Watching Ignoring Scheduled Pinned Locked Moved Security
      30
      3 Votes
      30 Posts
      9k Views
      donhoD

      @Coises

      I have no reason to think that it doesn’t block what you enter. What I meant was that it’s not accomplishing much, since it seems like no matter how many bad ads you block, there are always more to take their place. It seems like this is making a lot of work for you, but the whole nature of the advertising system is just undermining your efforts. (No complaint or criticism towards you, just disgust for the whole ad-supported nightmare that is the modern web.)

      I do what I can do.

      Though a lot of them are missleading, not all of ad destinations are “malicious” - here’s an example:

      6fbd3865-160c-4eb7-bb98-0b15672ea93b-image.png

      The link of “Download the White Paper” is:

      https://more.suse.com/Security_controls_for_the_OWASP_Kubernetes_Top_10.html?utm_source=google&utm_medium=display&utm_campaign=5_0004280_OA_Google_NeuVector_OWASP_Whitepaper_mp_2024737_en&utm_term=NeuVector_Prime&qgad=749273370457&gad_source=5&gad_campaignid=22495509070&gclid=EAIaIQobChMIq7mXqOCgjgMV3Yd_BB0V5DQqEAEYASAAEgJecfD_BwE

      which leads to https://more.suse.com/ - a section of suse.com website.
      It’s not the first time I’ve seen this - I have also blocked Microsoft & Google chrome.

      I don’t think these prestigious companies are aware that they are running the misleading ads. The real issue, I suspect, is that the marketing departments within these companies work with ad agences that view the traffic as an efficient way to boost superficial performance metrics and revenues.

      OTOH, back to 2013, in Oracle Java download from their website, it contained even the crapeware:
      https://www.facebook.com/Notepad.plus.plus/photos/pb.100057220819766.-2207520000/569194946466175/?type=3
      And Adobe did the same thing:
      https://www.facebook.com/Notepad.plus.plus/photos/pb.100057220819766.-2207520000/948957855156547/?type=3

      The both cases above, it’s really too huge that I don’t see how they can be innoncent.

    • peter-frentrupP

      NppMenuSearch version 0.9.7 available

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      13
      3 Votes
      13 Posts
      925 Views
      Vitalii DovganV

      Here is a funny scenario:

      type “menu” in the Search textbox; select Plugins -> NppMenuSearch -> Menu Search… press Enter.
      As the result, the Search textbox does not have a focus!

      Well, I know this is a strange use-case: call itself, but anyway :)

    • Shayne Z.S

      Anyone can help with this regex?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      11k Views
      guy038G

      Hello, @alan-kilborn, and All,

      Alan, you’ve just understood all my stuff quite correctly and even more regarding your last example with $+{Test} and $+{foo}, whose I did not think of !

      Best Regards,

      guy038

    • Chris GorringeC

      AsNotepad.xml nolonger working as it did

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      1 Votes
      11 Posts
      208 Views
      Chris GorringeC

      Thanks Peter. I was starting to wonder if I was running NP in an odd way that was preventing it from working correctly. 😊

    • M

      Find/Replace Window blocking results ...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      11
      1 Votes
      11 Posts
      1k Views
      M

      Replace was where I was having the issue and it brings up some challenges that Find does not - basically, you would need a shortcut for “Ignore and Find Next” and one for “Replace and Find Next” and you’d have to remember those shortcuts.

      @Coises; TBH, now that I’ve learned to resize the screen. I’m okay with it. I think most users have multiple monitors these days and use the find/replace dialog on the second monitor.

      @Coises and @mkupper - I wasn’t aware of the caret button to move the dialog to two lines. I think that and an OPTION to dock the find dialog in the lower-right corner so I don’t have to re-size the screen would be perfect for what I want.

      Again - none of this addresses the context issue - which isn’t a primary concern of mine, but I still think it should be accommodated, if possible.

    • Alexander AnisimovA

      Notepad++ lags when text files are on FTP

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      11
      0 Votes
      11 Posts
      729 Views
      mkupperM

      @Alexander-Anisimov said in Notepad++ lags when text files are on FTP:

      You may be right. In my understanding, WebDAV is another way of connecting protocol but still is FTP, although different.
      May be I am wrong.

      You are wrong. :-)

      WebDAV is a protocol that is similar to HTTP that web browsers use with web servers. As WebDAV looks like HTTP on the network it works with NAT, firewalls, web proxies, etc. Accessing a WebDAV server is just like accessing a web server. Many web browsers have built-in support for WebDAV.

      That said, if there are bandwidth or latency issues accessing a particular WebDAV server then all applications, including Notepad++ will be impacted.

      WebDAV itself is not slow or laggy.

      If I was stuck with needing to edit files that are on a slow or laggy server then I probably would create script that first copies the file to the local hard drive, runs Notepad++ on the file, and then keeps an eye on both the local and remote copies of the file. If the local copy changes then I push it out to the remote server. If it changes on the remote side then pop-up a warning. A tricky aspect is that Notepad++ allows people to exit Notepad++ and then resume editing. Thus I can’t depend on Notepad++.exe going away as a signal that I no longer need to monitor and synchronize that file but also need to watch Notepad++'s session.xml file.

    • Kunal MehtaK

      Open text files present in Onedrive directly without downloading to a sync folder

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      590 Views
      EkopalypseE

      @Kunal-Mehta

      Everything is possible if someone with enough time and desire can tackle this.
      Unfortunately I personally don’t have the necessary time to realize this, the little free time I have at the moment is not even enough to maintain my own plugins with the necessary love and care.

    • donhoD

      Notepad++ v8.8.2 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      10
      4 Votes
      10 Posts
      6k Views
      mkupperM

      Microsoft’s Windows Defender was not allowing the npp.8.8.2.portable.7z file on my machine claiming:
      Detected: Trojan:Win32/Suschil!rfn

      One puzzle is is that if I expand npp.8.8.2.portable.7z into a folder that a full scan of that folder reports “0 threat(s) found.”

      Windows Defender was using 1.431.348.0 created/updated on 07/02/2025 6:13 AM. I checked for updates and got 1.431.355.0 created/updated on 07/02/2025 11:10 AM. I re-ran the scanner and it reports no threats found.

      I assume this is not related to the code signing issue as I assume Windows Defender would still detect viruses in and and quarantine signed files.

      I’m guessing it was a false positive from Windows Defender’s 1.431.348.0 package that Microsoft has since fixed.

    • PeterJonesP

      C++ DarkMode dialogs -- not all controls inherit the mode

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      0 Votes
      10 Posts
      847 Views
      PeterJonesP

      For those who weren’t watching:

      ozone10 made a better fix for the tab-control: PR #16673 has been accepted ozone10 also fixed my “secondarily” report about the listbox scrollbar from above, which I reported in issue #16674, fixed in PR #16676 (accepted) progressbars also don’t go to darkmode, and ozone10 has proposed PR#16687, which hasn’t been accepted yet, but hopefully will be.

      So at least 2 of those 3 (and hopefully the third) will be in v8.8.2

      Meanwhile, CollectionInterface v1.1 has been released – the new version will be in PluginsAdmin for v8.8.2, or you can install it from the assets in the release at https://github.com/pryrt/NppPlugin-CollectionInterface/releases/tag/v1.1.0 :

      Adds DarkMode support (with N++ v8.5.4 or newer; in earlier versions, dialog will be LightMode still) [I do my own subclassing on the TabControl for v8.5.4-v8.8.1; it will use the builtin starting in v8.8.2] Allow selecting multiple files for bulk download (#6) Add label to progress bar so “100% [DONE]” is more clear (#9) Fix crash if firewall blocks download (#13) and make error handling better in other edge cases as well
    • S

      How to create a C# plugin?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development plugins
      38
      0 Votes
      38 Posts
      8k Views
      EkopalypseE

      @PeterJones

      I haven’t checked the Scintilla source code, but I’d be surprised if the code didn’t just ignore the alpha value.
      A quick test seems to confirm this.

      81a75ca8-8b44-4ca7-90cf-a0e31b288f38-{D5638942-D3BC-41B4-83BB-90B7C809D881}.png

    • O

      Find line including string, copy this line and replace numbers in xml fie

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      0 Votes
      9 Posts
      660 Views
      guy038G

      Hello, @ottiditto, @pbarney, @peterjones and All,

      A tiny piece of information : The & character is not a regex character, so the following syntax is sufficient :

      FIND (?-s)^((.*? layer=")(25)(".*?>>NAME.*\R))

      REPLACE ${1}${2}21${4}

      Best Regards,

      guy038

    • eli rosenE

      in correct version reporting

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      1 Votes
      8 Posts
      378 Views
      xomxX

      @PeterJones said in in correct version reporting:

      some insight as to why the Windows program/features install version isn’t getting updated for you.

      @eli-rosen said in in correct version reporting:

      user for almost 20 years,

      The following will be only my guess.

      Since @eli-rosen uses the N++ installers for so long, maybe he previously used there also a v7.9.1 x64 one, but then he has started to use that Automox (sorry, IDK it) and it can do whatever stuff, so maybe it’s simply forgetting/blocking to update the corresponding Registry item.

      It shouldn’t be a remnant from a previously installed 32-bit v7.9.1. In such a case there should be a separate uninstall-item visible (with a corresponding Registry hive HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++\)

    • Alexander AnisimovA

      Copying file itself into clipboard in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      23
      0 Votes
      23 Posts
      3k Views
      PeterJonesP

      @Alexander-Anisimov said in Copying file itself into clipboard in Notepad++:

      how can I bind a hotkey something like Ctrl+Shift+C to it?

      That’s explained in the FAQ. Search that page for “shortcut” (step 4 of the instructions) if you didn’t notice it.

    • garrett careyG

      Question(s)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      23
      0 Votes
      23 Posts
      5k Views
      CoisesC

      @mkupper said in Question(s):

      I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.

      Same here. Perhaps I was unclear.

      If I leave the zoom at default and adjust the font size for Default Style to be large enough for me to read easily on my monitor, I would set a font size of 14 or 16 points with Liberation Mono. (14 is bit smaller than I like, 16 is too big, 15 isn’t an option.) Those are too large for printing, though.

      If I set Default Style to 12 points, printing is reasonable. If I then zoom in 3 steps, I’m just about where I want to be to read easily on the screen — without affecting printing.

      The question I was answering was, “Why not just change your default font size?” Because that does affect printing (and, though I hadn’t remembered until I tried just now, also isn’t as fine-grained as zoom).

    • Nathalie De AsisN

      What makes notepad++ capable of making an html ???

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      421 Views
      dr ramaanandD

      @rdipardo OK, thanks!

    • PeterJonesP

      POLL / Discussion: taking over a plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      6
      2 Votes
      6 Posts
      114 Views
      rdipardoR

      @Coises said in POLL / Discussion: taking over a plugin:

      Just my personal opinion, but as I wrote in my other comment, I feel we should default to requiring new names; the “burden of proof” is on the new plugin and its author that it really is an appropriate replacement if they want to use the old name.

      A new plugin name is not ideal if you’re aiming for wide distribution, such as when the new version addresses a breaking change upstream. The Plugins Admin dialog will only suggest an update if the names are the same between the old and newer versions.

      The unfortunate case of Elastic Tabstops is probably too rare to inform a guiding principle. I had early doubts about the new version, but only something like formal acceptance criteria would have found the defects before unsuspecting users did. In one respect, transferring the name with ownership made finding the defects more likely.