• Please Read This Before Posting

    Pinned Locked
    1
    7 Votes
    1 Posts
    7k Views
    No one has replied
  • v8.7 Search Results Missing

    Pinned
    15
    0 Votes
    15 Posts
    5k Views
    xomxX

    This v8.6.9-v8.7.2 issue has been fixed (GitHub commit).
    The fix will be included in the next Notepad++ version (probably v8.7.3).

    @PeterJones
    I would leave this topic pinned for a while longer until the fix reaches most N++ users.

  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    18k Views
    Mike NewmanM

    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.

  • Plugin Manager v8.9.1 has ghosted us

    2
    0 Votes
    2 Posts
    9 Views
    PeterJonesP

    @nikkinisly ,

    The thing truly named “Plugin Manager” was last compatible with Notepad++ in v7.5.9 from October 2019. Had you really not updated since then?

    Or are you talking about Plugins Admin? That’s the builtin replacement since v7.6 in November 2019

    And it’s still in v8.9.1:
    0e15144b-967e-42d8-a505-a19330607d00-image.png

    My guess is that you deleted gup.exe and/or other of the content in the updater folder, or the plugin list DLL. To find out:

    Exit Notepad++ Perform steps 1-3 for each of the following files List of files C:\Program Files\Notepad++\notepad++.exe C:\Program Files\Notepad++\plugins\Config\nppPluginList.dll C:\Program Files\Notepad++\updater\GUP.exe C:\Program Files\Notepad++\updater\libcurl.dll If any of those files are missing, you will need to reinstall, making sure to include the auto-updater and Plugins Admin, because all of those files are required for Plugins Admin to work Steps Right click on the file and choose Properties Look to see if it still has the Unblock checkbox If it does, checkmark it, then click Apply / OK

    here is an example of a GUP.exe that still has the mark of the web:
    9baed526-5a1a-4497-a75b-1acdc23f3b85-image.png

    After making sure the Mark of the Web is gone from all those files, then restart Notepad++, and Plugins Admin should be there.

  • 1 Votes
    13 Posts
    398 Views
    PeterJonesP

    @fml2 said in Feature Request / Question: Soft Wrap at Vertical Edge (Column 80) regardless of window size:

    To be usable by an end user, it needs a script that would calculate pixel width for the current font and also handle widows resize.

    Which is why @Coises suggested that the plugin or PythonScript do the calculation, including getting the active window (or really, editor sub-window) size, the margins, and calculating character width based on the font size.

    The one thing he didn’t suggest is hooking this function to a specific notification (for “handle windows resize”), but that was rather implied by the solution. In case you’re not sure, I believe that handling SCN_UPDATEUI is the right notification, because there isn’t one specific to resize. In PythonScript, that hook would be set using editor.callback(functionNameHere, [SCINTILLANOTIFICATION.UPDATEUI]) – so functionNameHere() would be the function that does the calculations and then sets the marginleft/marginright. (personally, I’d recommend just changing the margin-right based on the full width, rather than dividing it by 2 and splitting between left-and-right)

  • 0 Votes
    5 Posts
    136 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)

  • 0 Votes
    2 Posts
    51 Views
    EkopalypseE

    @Jay-S

    I replied here.

  • Screen goes blank when switching to Notepad++

    2
    0 Votes
    2 Posts
    88 Views
    Jan LarsenJ

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

  • Open long path/ file name error since 7.5.9

    11
    0 Votes
    11 Posts
    6k Views
    Ahmad IqbalA

    @archerarcher1 I will suggest LongPathTool to solve this error.

  • 0 Votes
    2 Posts
    71 Views
    PeterJonesP

    @Fred-Morant ,

    Regular expressions don’t work the way you expect in search-backwards mode, so it’s disabled except for advanced users.

    Advanced users can look at the user manual and figure out how to enable regexBackward4PowerUser

    https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users

  • Tab bar tab width

    3
    0 Votes
    3 Posts
    100 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

  • About recent security flaws

    2
    0 Votes
    2 Posts
    185 Views
  • Maintain Indent While Pasting Multiple Lines

    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.

  • Editing the Shortcuts File

    2
    0 Votes
    2 Posts
    71 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.

  • Managing the User Languages tool

    4
    0 Votes
    4 Posts
    98 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.

  • walkthrough that comments on each part of your Notepad++

    2
    0 Votes
    2 Posts
    64 Views
    PeterJonesP

    @George-Warriner,

    My best guess is that it was referring to this conversation

  • 0 Votes
    2 Posts
    86 Views
    PeterJonesP

    @Markus-Louw ,

    You mean this box?

    See that X on the upper right, right where Windows dialog boxes normally have their X close symbol? You click it to close the message so that you can type.

  • how to make tab bar appear vertically in notepad ++

    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    @jterrain said in how to make tab bar appear vertically in notepad ++:

    but implementation of actual vertical tabs would work better.

    We have a Feature Request FAQ:
    https://community.notepad-plus-plus.org/topic/15741/faq-feature-request-or-bug-report

  • Menu command for ensuring current position is visible

    5
    3 Votes
    5 Posts
    442 Views
    Mark OlsonM

    As described in this comment, I noticed that the Search->Go to... dialog and typing do not reveal the current position if it’s in a hidden line range. This seems to me to further highlight the importance of creating a “Make current position visible” command.

  • Text area flashing black

    3
    0 Votes
    3 Posts
    147 Views
    Tom KiermaierT

    @PeterJones Thanks. Changing the rendering mode to GDI, DirectWrite (retain frames), or DirectWrite (Draw to GDI DC) seems to stop the issue.

    Here’s the debug info:
    Notepad++ v8.9.1 (ARM 64-bit)
    Build time: Jan 18 2026 - 21:12:46
    Scintilla/Lexilla included: 5.5.8/5.4.6
    Boost Regex included: 1_90
    pugixml included: 1.15
    nlohmann JSON included: 3.12.0
    Path: C:\Program Files\Notepad++\notepad++.exe
    Command Line:
    Admin mode: OFF
    Local Conf mode: OFF
    Cloud Config: OFF
    Periodic Backup: ON
    Placeholders: OFF
    Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
    Multi-instance Mode: monoInst
    asNotepad: OFF
    File Status Auto-Detection: cdEnabledNew (for current file/tab only)
    Dark Mode: OFF
    Display Info:
    primary monitor: 2304x1536, scaling 150%
    visible monitors count: 1
    installed Display Class adapters:
    0000: Description - Qualcomm® Adreno™ X1-85 GPU
    0000: DriverVersion - 31.0.133.2
    OS Name: Windows 11 Pro (64-bit)
    OS Version: 25H2
    OS Build: 26200.7628
    Current ANSI codepage: 1252
    Plugins:
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)