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
    • Tom KiermaierT

      Text area flashing black

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      140 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)

    • P

      ctrl-W should close Notepad++ when no document is open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      176 Views
      P

      @PeterJones thanks a lot… I was not able to find that myself :-)

    • Pierre le LidgeuP

      Cursor become black square at line selection

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      2k Views
      Andrzej JaworskiA

      @mpheath. Thank you so much. You found a simple and very effective solution. It works 100 percent. Now I see the desired cursor instead of the black square. Thanks again.

    • H

      Search Dialog Adding `\r\n` to pasted search queries.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      149 Views
      H

      @PeterJones Thanks so much for the quick reply. Installing the release candidate fixed the issue for me. Much appreciated!

    • submitificS

      HOW Do You Add Keyboard Shortcuts

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      11
      0 Votes
      11 Posts
      4k Views
      CoisesC

      @PeterJones said in HOW Do You Add Keyboard Shortcuts:

      Actually, anything in the Scintilla Commands tab of the Shortcut Mapper can have 0 or more shortcuts assigned. It’s not limited to only 2. And it’s not limited to only Copy/Cut/Paste. This is described in the user manual’s Preferences > Shorcut Mapper, specifically in the paragraph that starts with “In the Scintilla commands tab, you can actually assign more than one shortcut to a given Scintilla command”

      This might be confusing to @Michael-Neumann, because Cut, Copy and Paste are no longer Scintilla shortcuts; they moved to the Main menu tab, Edit category, as part of the changes that enhanced multiple selections and implemented VS Code-style line cut/copy/paste.

      Since the two sets of shortcuts, with X/C/V and with Insert/Delete, are so familiar and either would have been missed, special allowance was made to let those menu items have two distinct shortcuts. No other commands work that way.

    • guy038G

      Macro problem

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      279 Views
      mpheathM

      @guy038

      https://www.scintilla.org/ScintillaDoc.html#SCI_COPY

      copying data to the clipboard

      Is document to the clipboard.

      https://www.scintilla.org/ScintillaDoc.html#SCI_PASTE

      pasting from the clipboard into the document

      Is clipboard to the document.

      Both functions relate to the document in the editor. The copy function will be good for the task though paste will not work with the search window.

      Instead of SCI_PASTE, could use the Run command to run an executable to insert the clipboard text into the search window.

      AutoIt3 script automate_columns++_search.au3 :

      ; Wait up to 3 seconds for the window. $hSearch = WinWait('Search in indicated region', '', 3) If $hSearch Then $sClip = ClipGet() ; get clipboard text ControlSetText($hSearch, '', 'Edit1', $sClip) ; set combo edit ControlClick($hSearch, '', 'Button7') ; click regex button ControlClick($hSearch, '', 'Button9') ; click count button $sCount = ControlGetText($hSearch, '', 'Static3') ; read label ClipPut($sCount) ; set clipboard text EndIf

      Adjust the title if the window text is localized.

      Compile to executable and then add to Run as a command. Get the command id with NppUISpy and insert into the shortcuts.xml file.

    • Troglo37T

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

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

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

      This has been bugging me for a long time. Is there a way to prevent Notepad++ from displaying rows of blank space when pasting text from IMDB? I tried all of the settings in the Find box, but nothing happened.

      For example, https://www.imdb.com/name/nm0000078/ then click on ‘1 episode’ for Gunsmoke, highlight, and copy Gunsmoke

      1 episode 1955

      See what happens even here?

      Yes. When you copy that text from the webbrowser, the browser puts the string Gunsmoke\n1 episode\n1955 (with newline characters) into the CF_TEXT, CF_OEMTEXT, and CF_UNICODE slots of the Windows clipboard. Then when you paste in Notepad++ (or notepad.exe, or any other text editor which is requesting one of those text slots from the Windows clipboard), Notepad++ correctly pastes what’s there, honoring the newline settings to interpret the newline in the data that you are pasting, just like Notepad++ always does. (And, BTW, pasting that text into Windows notepad.exe also correctly puts the newline between the lines, because that is IN THE CLIPBOARD TEXT)

      Using those prevents the text from spreading out with rows of blank space. All I have to do is click in front of 1955, use the back button 4 times, click in front of 1 episode, then use the back button 5 times.

      Notepad++ cannot know that you visually saw a single line in the rendered HTML browser, because all Notepad++ is told is that when it requests the CF_TEXT or similar, there’s a newline there, so it needs to handle that newline the same way it does every other newline in pasted data. To do anything else would break user expectation, and would be considered a crippling bug in the software.

      And what you don’t understand is that, even to your browser, that’s not a single line of text. The word Gunsmoke is in an H3 tag, 1 episode is inside an <li> tag, and 1955 is in a separate <li> tag. They are three independent pieces of data, which the stylesheet just happens to present as having the two LI elements on the same “line” when rendered. But when your browser puts that data in the clipboard, it separates them with newline symbols. It’s not Notepad++'s fault, and Noteopad++ cannot read your mind in what you “want” from the data: it assumes that since you’re pasting text, that you want to paste the exact text that’s in the CF_TEXT or equivalent slot in the clipboard, so that’s what it does.

      To save keystrokes to fix it, you can hold down the shift key, hit HOME then UP then UP, the Ctrl+J to join the lines.

      But the “problem” is not on Notepad++'s end. Notepad++ correctly pastes the data that is in the text portion of the Windows clipboard.

    • Naveen RathnamN

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

      Watching Ignoring Scheduled Pinned Locked Moved Security
      2
      1 Votes
      2 Posts
      79 Views
      PeterJonesP

      @Naveen-Rathnam said in Were the binaries released on GitHub affected in the Notepad++ state-sponsored hacking incident?:

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

      Those that are worried “am I vulnerable” should really read the official announcement and this existing post rather than ask a new question.

      No official binaries were affected by this issue. It was a website issue – the hack allowed them to send false responses when the Notepad++ updater (called “wingup” or “gup.exe”) asked the website where the download file was – it is the response from the website to this query from wingup that was affected (*), not the links on the HTML pages of the website, and not the files on the GitHub servers.

      But the files on GitHub are all 100% what was intentended to be posted and published, and if you downloaded from there, there is no difficulty.

      kindly provide confirmation.

      Considering that the official announcement said, and I quote, “the compromise occurred at the hosting provider level rather than through vulnerabilities in Notepad++ code itself”, that information was already provided. But I’ve said it in a different way here, in hopes that you will be able to understand what has already been said.

      –
      *: update: and that was only for a limited number of users – it was a targeted attack; the vast majority of update requests, even using the wingup updater, were not affected.

    • Jan LarsenJ

      Screen goes blank when switching to Notepad++

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

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

    • Fred MorantF

      "In Find, Regex Search in Current File Limited to "Find Next" Downward Direction Only"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      66 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

    • NppenjoyrN

      About recent security flaws

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      171 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.

    • D. KirkpatrickD

      Editing the Shortcuts File

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · shortcuts
      2
      0 Votes
      2 Posts
      68 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.

    • George WarrinerG

      walkthrough that comments on each part of your Notepad++

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

      @George-Warriner,

      My best guess is that it was referring to this conversation

    • Markus LouwM

      I am a familiar user but now on this forum, and want to make a post, but cannot type in the message box "This forum uses a post queue system, since you are a new user (that is, someo"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · i cant post new user nowhere to type message
      2
      0 Votes
      2 Posts
      80 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.

    • Nazar HotsaN

      Strange highlighting in PHP files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      96 Views
      PeterJonesP

      @Nazar-Hotsa ,

      Did you ever run v8.8.9? If so, it’s likely what’s in this FAQ:
      https://community.notepad-plus-plus.org/topic/27306/faq-themes-in-v8-8-9

      Otherwise, what theme are you using, what version are you on now (sharing ?-menu’s Debug Info would help), what earlier versions have you run recently, and what other changes did you make around the time that highlighting changed?

    • K

      how to make tab bar appear vertically in notepad ++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      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

    • Pierre de la VerreP

      No solution for using as Preview Handler?

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

      @Pierre-de-la-Verre said in No solution for using as Preview Handler?:

      I looked around and it seems that there is no (common) way to activate / to configure the “Preview Pane” in Windows Explorer on “Win Server 2019” to display common files like logs, txts and so on.

      Notepad++ doesn’t have a preview pane natively. Are you using one or more plugins? If so, which plugin(s)?

      Or are you saying that you would like to tell Windows OS to use Notepad++ as the preview tool for those kinds of files? My guess is that would require that Notepad++ add hooks to handle whatever special message Windows sends to request generating the preview. Yeah, I found this 2019 feature request that requested adding such a feature. You could go upvote that request… Also, there’s a discussion from 2021 about the possibility of this feature, as well.

      (On Github I found a fork which offers this, but I would like to prefer a solution with / within the “official version of NotePad++”)

      I couldn’t find that fork easily. If you pointed a link to that fork in the official feature request issue, it might give a volunteer the context and information needed to be able to try to incorporate it into Notepad++.

    • Omar AO

      find and replace Gemini copy/paste coding data-path-to-node

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

      @Omar-A ,

      Search has a “regular expression” mode which will be able to search for anything matching a pattern. Since I assume you want to also delete the matching </span> to go with it, then I believe a regex like the following will work:
      FIND = <span data-path-to-node[^>]*>(.*?)</span>
      REPLACE = $1
      SEARCH MODE = Regular Expression

      That worked on the first three spans in your example (and would’ve worked on the fourth if the final /span> wasn’t missing the <)

    • conky77C

      show the current zoom

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      30
      1 Votes
      30 Posts
      21k Views
      Alan KilbornA

      @Javier-Utrilla said in show the current zoom:

      something like U | Zoom +10

      It’s fine…but why not make the abbreviated encoding MORE descriptive, and the zoom info LESS descriptive. E.g. (just my thinking): U8B |Z+10