Community
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    • Troglo37T

      Is There a Way to Prevent Pasted Text from Spreading Out with Rows of Spaces?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      267 Views
      PeterJonesP

      @PeterJones said in Is There a Way to Prevent Pasted Text from Spreading Out with Rows of Spaces?:

      implementing it in PythonScript today

      Thankfully, I found an old script which did something related, which was easy to update.

      # encoding=utf-8 """in response to https://community.notepad-plus-plus.org/topic/27385/ This will paste the CF_TEXT plaintext from the clipboard, but will convert any series of newline characters into a single space before doing the paste. Because this uses .insertText() instead of putting the modified text back into the clipboard and doing .paste(), it should avoid clobbering the clipboard. (based on @alan-kilborn's clipboard script here: <https://community.notepad-plus-plus.org/post/97132>) """ from Npp import * try: editor3h # third editor, hidden except NameError: editor3h = notepad.createScintilla() def get_clipboard_text_without_newlines(): retval = '' editor3h.clearAll() editor3h.paste() if editor3h.getLength() > 0: editor3h.rereplace(r'[\r\n]+', ' ') # replace all newline seqeuences with a single space retval = editor3h.getText() return retval editor.beginUndoAction() editor.insertText(editor.getCurrentPos(), get_clipboard_text_without_newlines()) editor.endUndoAction()

      This has been tested in the PythonScript 3 plugin. The PythonScript FAQ explains how to install PythonScript plugin, and how to run a script using PythonScript plugin, and even how to assign a keyboard shortcut to the script. Make sure you follow the instructions for PythonScript 3, not PythonScript 2 (as I have not tested under the older plugin syntax, though it will likely work there)

    • Nazar HotsaN

      Strange highlighting in PHP files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      191 Views
      Nazar HotsaN

      Thank you! Problem solved.

    • Jay SJ

      PythonScript 3.0.24.0 - "PluginsManager:runPluginCommand Exception" dialog with "Access Violation" with one of my scripts.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · pythonscript python error scripting access violation plugins
      2
      0 Votes
      2 Posts
      103 Views
      EkopalypseE

      @Jay-S

      I replied here.

    • David BrownD

      Name on donation button is not "Don Ho" -- is this okay?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      279 Views
      shane knappS

      @David-Brown i came here to let you know that my receipt had what appears to be his email address on it (which i’ve blocked out here for privacy):

      2a1a9747-0e42-4d15-80d0-eb4737ffabd4-image.png

      seems legit to me, but i can’t know for sure. :)

    • Ilhan YumerI

      notepad-plus-plus.org should be added to the HSTS preload list

      Watching Ignoring Scheduled Pinned Locked Moved Security hsts domain security
      2
      0 Votes
      2 Posts
      230 Views
      PeterJonesP

      @Ilhan-Yumer ,

      The developer does not read most posts in this Forum. If you would like to suggest such a move to the developer, I would recommend creating a new Issue at GitHub requesting it (https://github.com/notepad-plus-plus/notepad-plus-plus/issues).

    • Cam KroutC

      Chinese compromise began as early as NP++ v8.6.9

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      0 Votes
      4 Posts
      671 Views
      PeterJonesP

      Future readers: if you want more information for the context of this discussion, See the FAQ, which has the best summary I can make, as of 2026-Feb-04; if new information is available, the FAQ will be updated. ALL followups/discussions must go in Topic: autoupdater and connection to temp.sh. This tangent is LOCKED.

    • M

      I am very confused about the Notepad++ security issue

      Watching Ignoring Scheduled Pinned Locked Moved Security
      3
      0 Votes
      3 Posts
      357 Views
      PeterJonesP

      See the FAQ, which has the best summary I can make, as of 2026-Feb-04; if new information is available, the FAQ will be updated. ALL followups/discussions must go in Topic: autoupdater and connection to temp.sh. This tangent is LOCKED.

    • Naveen RathnamN

      Were the binaries released on GitHub affected in the Notepad++ state-sponsored hacking incident?

      Watching Ignoring Scheduled Pinned Locked Moved Security
      3
      1 Votes
      3 Posts
      269 Views
      PeterJonesP

      See the FAQ, which has the best summary I can make, as of 2026-Feb-04; if new information is available, the FAQ will be updated. ALL followups/discussions must go in Topic: autoupdater and connection to temp.sh. This tangent is LOCKED.

    • Jan LarsenJ

      Screen goes blank when switching to Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      181 Views
      Jan LarsenJ

      Turns out it was an issue with the GPU driver, which has now been patched.

    • archerarcher1A

      Open long path/ file name error since 7.5.9

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      0 Votes
      11 Posts
      6k Views
      Ahmad IqbalA

      @archerarcher1 I will suggest LongPathTool to solve this error.

    • NppenjoyrN

      Advices to prevent further security vulnerabilities

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      0 Votes
      4 Posts
      516 Views
      NppenjoyrN

      BTW:

      5.1-if your home internet speed is fast enough, setup your own web server to your pc under virtualbox(in case of web server software cve’s/rce’s). I or anyone can help with that. Dont forget to hardening server for security.

      IMO, this is BAD advice. To suggest to a non-security specialist who runs this as a hobby, that he should self-host, and try to keep up on all the security hardening, is asking him to get hacked even worse than the hack that already happened. He was literally paying a host to provide such services, and the professionals failed; he has now changed providers to a host who has better security procedures.

      Believe me it’s not that hard to setup a webserver or harden it, especially while backed by a strong community. The risks are different when hosting at home between hosting remotely. The hosting firm may be offered money to hijack, or an out-of-date hosting management software had rce was waiting to be abused.

    • A

      Tab bar tab width

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      181 Views
      A

      @PeterJones
      on the screenshot above Reduce option is already pressed though.
      Max tab label length truncates text, which is not the behavior i want to restore - i want the tabs with short names to not have this big gap at the end.

      That said, it seems that the “enable pin tab feature” was the culprit, as disabling it seems to have restored the desired tab size behavior.

      There still is some extra spacing before the close button though:

      2bb5dad1-4a85-4bd0-8df8-768e93562693-image.png
      629bde33-102c-4a09-a960-60ded9dcd809-image.png

    • NppenjoyrN

      About recent security flaws

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      247 Views
      PeterJonesP

      @Nppenjoyr ,

      See this post

    • Brian DickensB

      Notepad v8.8.2 32-bit installer: virus or malware detected

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      0 Votes
      4 Posts
      8k Views
      PeterJonesP

      @Tavi ,

      As far as I can tell, they were unrelated. Scanners such as VirusTotal look at the executable itself, and last year were being triggered by the lack of signing and the self-signing of the executable.

      please confirm if this issue is related to the notepad++ hijack news dated 2nd Feb 2026?

      The issue you are referring to, as linked here and described in detail here specifically said,

      the compromise occured at the hosting provider level rather than through vulnerabilities in Notepad++ code itself.

      This was a website hack, and VirusTotal and other such AV scans do not detect website hacks, as far as I understand them.

      See the FAQ, which has the best “table of contents” for the website hack. ALL related followups/discussions must go in Topic: autoupdater and connection to temp.sh.

    • donhoD

      WHEN GOOGLE IS POSSESSED BY PROFIT

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      23
      6 Votes
      23 Posts
      21k Views
      donhoD

      It seems that malicious ads (promoting a fake Notepad++ website) have returned on the Google search page.
      Below is the email I received this morning:

      Hi Don
      I am a long-time user and admirer of Notepad++. I am based in Australia.

      Today, I went to download a copy of Notepad++ to a new machine. When I searched for “Notepad++” in Google, the first link which came up appears to be a FAKE website located in China:

      https://www[.]notepadplus[.]com[.]cn/en/

      I thought I should let you know, in case this is some kind of hacking attempt.

      Any follow up questions, just let me know.

      Kind regards

      If anyone here has encountered these malicious ads, please use the following link to report them to Google:
      https://support.google.com/ads/troubleshooter/4578507?visit_id=639056285883908601-3926234762&rd=1

    • Dennis BareisD

      Maintain Indent While Pasting Multiple Lines

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      28
      1 Votes
      28 Posts
      14k Views
      Michael SiscoM

      @Liam-Wright I am running the latest NPP (8.9.1) and I don’t see this setting.

    • D. KirkpatrickD

      "Run" add-on for Run in Browser

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      320 Views
      D. KirkpatrickD

      @PeterJones Thanks. I will work on getting the debug. Until then…

      After making the edit, which took by the way (saved), I closed the app as usual. Just to be sure I checked Task Manager and found 2 instances of it showing there even though all copies were previously closed by me. I killed it there, unmounted the thumb drive that has the portable version I’m trying to edit, and then did a system restart thinking that might clear anything else.

      I remounted the thumb drive and still have an edited Shortcuts file but it is not recognizing the changes. That edit is working with my resident copy on the same system but that was also hard to change when I did it a while back.

      Thanks for the help.

    • D. KirkpatrickD

      Editing the Shortcuts File

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · shortcuts
      2
      0 Votes
      2 Posts
      112 Views
      PeterJonesP

      @D-Kirkpatrick said in Editing the Shortcuts File:

      However with this latest version there doesn’t seem to be a way to do this?

      Nothing has changed regarding shortcuts.xml in the last many versions.

      I know there is a copy in %appdata% but that also had my changes.

      It depends on your settings, but the %AppData%\Notepad++\shortcuts.xml is the normal first place that Notepad++ will look.

      if that’s not working for you:

      confirm you follow the normal incantation for editing config files (ie, close all N++, open just one, edit file, save, exit and restart N++ to allow the change to take effect) if that doesn’t work, grab ?-menu’s Debug Info and share it with us share the actual XML snippet from the right shortcuts.xml file, so we can look to see if we can tell what’s wrong

      update: I just re-read your post, and noticed:

      When I added in the appropriate line to the XML file and saved it nothing happened and the pull down menu did not change.

      You have to exit Notepad++ after saving, then restart the application. Notepad++ doesn’t just re-parse shortcuts.xml when you save it, so the menu won’t change by just hitting save on the file.

    • S

      Managing the User Languages tool

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      141 Views
      PeterJonesP

      @sagradamoly-stack said in Managing the User Languages tool:

      Is there any way to delete all the interim variations without losing all the work getting to a useful final result?

      It depends on what you mean.

      En masse? No

      One at a time? Yes. In the UDL dialog, select each intermediate UDL from the drop-down, and click Remove. Since it’s likely on the order of a dozen or two, it won’t take you that long – less time than asking here took you, I’d wager.

      without losing all the work

      I mean, deleting the intermediate ones will obviously delete the intermediate stages. If you don’t want to lose them, but don’t want them in the N++ Language menu, use Export to save each to a separate XML file which you can then save in some backup directory, then Remove to take it out of the menu.

    • George WarrinerG

      walkthrough that comments on each part of your Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      87 Views
      PeterJonesP

      @George-Warriner,

      My best guess is that it was referring to this conversation