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
      23k 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

      Fighting Malicious Ads on Download Pages

      Watching Ignoring Scheduled Pinned Locked Moved Security
      30
      3 Votes
      30 Posts
      8k 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.

    • 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

    • peter-frentrupP

      NppMenuSearch version 0.9.7 available

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      13
      3 Votes
      13 Posts
      903 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

    • 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
      717 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.

    • Chris GorringeC

      AsNotepad.xml nolonger working as it did

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      1 Votes
      10 Posts
      109 Views
      PeterJonesP

      @Chris-Gorringe ,

      Using portable, I was able to confirm that v8.7.9 was the version that broke that feature. I have submitted bug report #16794

    • 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
      541 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
      4k 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
      830 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
    • 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
      648 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
      351 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++\)

    • donhoD

      Notepad++ v8.8.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      7
      6 Votes
      7 Posts
      265 Views
      xomxX

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

      Is the self-signed root cert going to be the permanent fix?

      I hope not. In the long term, a public trusted CA cert is needed, such as the previously used DigiCert one.

      But using a self-signed certificate is much much better from the BFU’s (or the Don’s grand-mom ;-) ) POV.

      No one can expect that BFU will install Kleopatra (and create the needed OpenPGP key pair etc etc…!) to verify the N++ distributed sigs. But using the standard Windows Explorer and Certificate interface for checking of the N++ executable digital signature == ok, even if “unverifiable” for now:

      npp-v883-1-unverifiable.png

      it’s a halfway where to go (BTW I saw somewhere that some corporate takes an unsigned 3rd party app and signed it with their own MS Azure self-signed cert just for an internal re-distribution).

      IMO - even if the above (very good!) description, for adding the N++ own cert to the trusted root ones, is not for every BFU in general, it’s still much better than want from them to learn how the OpenPGP (and public/private key stuff) works.
      After N++ is in Trusted Root CA:

      npp-v883-2-npp-cert-trusted.png

      Now the N++ executables:

      can be trusted (verified the origin, with some acceptable effort) prevents unnoticed modifications (common disk storage corruptions but also malicious modifs):

      npp-v883-3-npp-execode-modified.png

      (Sidenote: I’d not overestimate the executables digital sign in the malware fighting - nowadays many sophisticated attacks use patching already loaded process in memory and so they do not touch the executable files on disk at all…)

    • 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).

    • PeterJonesP

      Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      15
      3 Votes
      15 Posts
      2k Views
      CoisesC

      @Vitalii-Dovgan said in Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2:

      My last question was rather related to NPPM_GETFULLCURRENTPATH, NPPM_GETCURRENTDIRECTORY and the other messages from the same family. These messages:

      are internally limited by MAX_PATH; do not provide ability to request/retrieve the length required for the returned path/name.

      See the first part of this comment and the first part of the reply by the maintainer of Notepad++.

      The MAX_PATH limitation is present in the file handling routines of Notepad++, not just the interface for these messages. As I read that reply, Don has rejected (for now, at least) consideration that the MAX_PATH constraint might someday be removed. If you know MAX_PATH is enough, there’s no need to request the actual length ahead of time.

      I agree that there is some inconsistency in what is considered appropriate for deprecation, but I return to the observation that it will always be possible to screw up calling a C interface, and there were and are compelling reasons to keep the plugin interface as a pure C interface. (If we could pass a std::wstring or a std::vector<std::wstring> the whole problem would go away.) It’s a judgement call what is “too error-prone.” Not worth all that much debate.

    • deleeleeD

      Npp website spelling error

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      3 Votes
      7 Posts
      718 Views
      deleeleeD

      @mkupper said in Npp website spelling error:

      FWIW, this Google search gets zero hits other than this forum thread.

      site:notepad-plus-plus.org "featurs"

      I’m guessing that the misspelling, if it ever existed, was corrected a while back.

      Yes, it was fixed within a few days of me posting 😁👍

    • Nostra DamusN

      Create File? message

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      466 Views
      PeterJonesP

      @Nostra-Damus said in Create File? message:

      but don’t have a ‘contextMenu’ folder in the Notepad++ folder, is there anywhere I can download it from? I have got the latest portable version off github but it is not in that either.

      The portable edition does not come with the Shell Extension DLL because the Shell Extension is by definition not portable (it gets registered with your OS; one of the primary points of portable editions of software is to keep them from making changes to your OS configuration and to keep themselves limited to whatever directory you happen to be running them from)

      The only way I have ever tried getting the shell extension is to run the installer (unfortunately, the installer is not one of the ones where you can change the filename to xyz.zip and just browse it like a zipfile, so you cannot easily extract from the installer without running it). And you seem to want the portable, not the installed version. However, it should be noted: you can still use the installer, and give it your alternate install directory of C:\Utils\Notepad++\ and you can choose Don't use %AppData% in the options on the last page of the installer:
      7dae6d44-f65e-4048-872d-cd58d2b61a26-image.png

      However, if you don’t want to run the installer at all, the repo for the Shell Extension is publicaly visible at https://github.com/notepad-plus-plus/nppShell/ … its “releases” only seems to share the source code, not the built DLL, but if you go to the most recent GitHub Actions CI_Build (https://github.com/notepad-plus-plus/nppShell/actions/workflows/CI_build.yml) – click on the most recent (topmost) run in the main list: if it is recent enough, it should have some artifacts attached, and you could grab the 64-bit artifact (the one with x64 in the name). You can extract the DLL from that artifact zipfile, and then create C:\Utils\Notepad++\contextMenu\ folder and put the extracted DLL there.

      But honestly, that’s a lot of work when really all you needed was to add the quotes to get "%1" in your existing registry entries. Since you’ve already confirmed that works, I’d probably recommend just sticking with that.