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

  • Adding a shortcut to a language....

    7
    1 Votes
    7 Posts
    4k Views
    Lycan ThropeL

    @PeterJones ,
    I just use the Context menu to create an entry that I can right click on the page and switch to the language I want using the contextMenu.xml file with the following entries.

    <Item id="0"/> <Item MenuEntryName="Language" subMenuId="language-userDefinedLanguage" name="User Defined Language" MenuItemName="dBASEPlus_Dark"/> <Item MenuEntryName="Language" subMenuId="language-userDefinedLanguage" name="User Defined Language" MenuItemName="dBASEPlus_Light"/>

    This seems to me to be the quickest easiest way to do this kind of thing and it’s always available with a right mouse click and selection.

  • Where does this nasty line highlighting come from??

    3
    -1 Votes
    3 Posts
    29 Views
    PeterJonesP

    @Mister-Smitt said in Where does this nasty line highlighting come from??:

    2026_02_12_22_0838.png

    How to fix this?

    Read this FAQ

    And I would like you to spit in the face of the person who did this when you are next to him.

    Okay, I just spit in my own face. Does that make you feel better?

    (New features sometimes have bugs. The new feature of updating your horribly-outdated theme to give you access to all the modern styles that have been hidden from you for years was a great idea, but the original implementation, under certain circumstances, had unintended side effects. And the relatively few people who updated to v8.8.9 or 8.9.0 have to go through a bit of extra effort; those who skipped those two versions will not have the side effects. But if spitting in my face helps you, go ahead.)

  • Alternative for Notepad++ on Mac

    36
    0 Votes
    36 Posts
    1m Views
    PeterJonesP

    Moderator note: with the recent post in this Topic, my attention was drawn here. And I saw that at least one of the most recent links was a malicious download site, so I removed that link. But that has made me revisit all the links in this Topic. Any that are direct links to an actual alternative editor’s official site, or a github page, are left. Ones that are ad-ridden “blogs” with dubious reviews of editors are being removed, because they are all years out-of-date and/or possibly malicious downloads: honestly, if you can type the words “alternative for Notepad++ on Mac”, you can do your own modern websearch and find dozens of those “alternative to” websites which claim to review applictions, and we don’t need this forum to be a link to outdated ad/“review” sites; such links are not helpful to anyone here.

  • 0 Votes
    6 Posts
    195 Views
    Fred MorantF

    @PeterJones said in "In Find, Regex Search in Current File Limited to "Find Next" Downward Direction Only":

    Perfect, thank you for the explanation about how the config file is managed.

    One point: I was the one who hallucinated, trying to find a reason for this limitation in regex usage.

    Thanks for the clarification!

    Much appreciated!

  • "Search result" are not more stacked,

    3
    0 Votes
    3 Posts
    96 Views
    Fred MorantF

    @PeterJones , Perfect, many thanks,

  • Do I need to update?

    3
    0 Votes
    3 Posts
    177 Views
    kia kamK

    @PeterJones
    Thanks for the clear explanation, That really cleared up my confusion. I appreciate you taking the time to break it down and explain what actually happened and why updating is safe now.

  • Option "In selection" not available to replace a text block

    3
    0 Votes
    3 Posts
    70 Views
    CoisesC

    @Michael-König said in Option "In selection" not available to replace a text block:

    for this I mark the text block using the keys [Alt]+[UpperCase] and the mouse
    then I open the dialog box “Replace” using [Strg]+[H] and enter the text to be changed in the find field and the new text in the replace field
    I find the option “In selection” but this option is not selectable
    what have I to do in order to succeed?

    The find and replace functions built in to Notepad++ do not work with rectangular (column) selections or multiple selections.

    The Columns++ plugin (which I wrote) can do that.

    Take a look at the help for the search function and see if you think it would work for you. You can install the current version of Columns++ from Plugins | Plugins Admin… by checking the box beside Columns++ and clicking the Install button at the top right. Be sure to save your work first since Notepad++ closes and restarts to install plugins.

  • 1 Votes
    22 Posts
    1k Views
    CoisesC

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

    @Coises Thank you for the quick implementation! If enebaled, it applies to all documets, not just the current one, right?

    Yes, I made it a single toggle for all documents in both views.

    It would be possible, but considerably more complex, to track documents and enable/disable per document. (I do it with elastic tabstops in Columns++.)

  • Show (or keep) subsets of a file

    16
    0 Votes
    16 Posts
    314 Views
    guy038G

    Hello, @mark-boonie and All,

    I said in this post that we can translate the regex’s logic to :

    What_I_do_not_want(*SKIP)(*F)|What_I_want. See also the excellent article, on this topic, at https://www.rexegg.com/backtracking-control-verbs.php#skipfail !

    But, regarding your present example, @mark-boonie, I suppose that we should invert the logic and tell :

    What_I_want_to_keep(*SKIP)(*F)|What_I_want_to_delete

    This means that any multi-lines block, with delimiters Block start and Block end containing the string 80     00010000 is not considered ( text is skipped ) and that any single line contents, with its line-break, due to the (?-s) modifier, must be deleted

    Note that the use of the Backtracking Control Verbs (*SKIP) and (*F) is not mandatory at all ! we could have used this syntax, instead, for similar results :

    SEARCH (?s)^\*Block start\h*((?!\*Block start).)+?80 00010000.+?^\*Block end\h*\R?|(?-s)^.*\R?

    REPLACE (?1$0)

    We simply change the non-capturing group (?:(?!\*Block start).)+? into a capturing group ((?!\*Block start).)+?

    We tell that, in replacement, we must rewrite any block entirely ( $0 ), if the group 1 exists, thus the (?1$0) syntax

    And, as there is no colon char and text after (?1$0, nothing must be taken in account if the group 1 is absent, which is the case in the (?-s)^.*\R? part !

    Best regards,

    guy038

  • Plugin Manager v8.9.1 has ghosted us

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

  • 0 Votes
    5 Posts
    216 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
    85 Views
    EkopalypseE

    @Jay-S

    I replied here.

  • Screen goes blank when switching to Notepad++

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

  • Tab bar tab width

    3
    0 Votes
    3 Posts
    132 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
    218 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.