• 4k resolution

    General Discussion
    4
    0 Votes
    4 Posts
    2k Views
    J

    @Maxitrol-Mat said in 4k resolution:

    While some things look good, some other things look microscopic.

    One thing that may help: In Preferences > Toolbar, try choosing a “large” UI option.

  • 3 Votes
    5 Posts
    476 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

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    175 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)

  • 0 Votes
    5 Posts
    253 Views
    guy038G

    Hi, , @russ-jones, @freemeow, @m-andre-z-eckenrode and All,

    Ah… many thanks, @m-andre-z-eckenrode for your valuable input ! Thus, @russ-jones, my macros can be improved as below, just adding a final Esc key stroke :

    <Macro name="End Previous NON-Blank chars" Ctrl="no" Alt="yes" Shift="no" Key="190"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="\S+\K(?=\s)" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1702" wParam="0" lParam="256" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1" sParam="" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> </Macro> <Macro name="End Next NON-Blank chars" Ctrl="no" Alt="yes" Shift="no" Key="191"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="\S+\K(?=\s)" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1702" wParam="0" lParam="768" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1" sParam="" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> </Macro>

    BR

    guy038

  • 0 Votes
    2 Posts
    246 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++.

  • 0 Votes
    3 Posts
    205 Views
    P

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

  • 0 Votes
    5 Posts
    272 Views
    mpheathM

    The Open With extension is not the Edit with Notepad++ extension. The later is NppShell.

    Open a cmd prompt and enter:

    reg delete "HKCU\Software\Classes\Applications\notepad++.exe"

    Press Return key and if no error, then it will prompt to delete the key and reply with yes.

    Open With creates this key and some others. Removing this key removes the orphaned Open With entry of Notepad++.

    Some installers add this key, the Notepad++ installer currently does not add this key so it does not remove it on uninstall.

    The duplicate entry is something else. Try:

    reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ini" /s

    and will print information about the entries to discover more details about the entries. You may see something like Applications\other.exe and if another ophaned entry, can use a similar command to remove it:

    reg delete "HKCU\Software\Classes\Applications\other.exe"

    Always use care with the registry. Ensure the commands are correct before executing them.

  • 2 Votes
    13 Posts
    614 Views
    Min LiuM

    @mpheath Cheers thank you for the detailed explanation! i will give this a go.

  • 0 Votes
    2 Posts
    173 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 <)

  • 0 Votes
    4 Posts
    174 Views
    M Andre Z EckenrodeM

    @Alan-Kilborn

    Thanks for the suggestion, though I think .lineUp() is sufficient for my purposes in this case, since I will need to repeatedly go up the same number of lines, and column isn’t a concern because I’ll always be landing on blank lines.

  • [New plugin] PlantUML Viewer

    Notepad++ & Plugin Development
    41
    7 Votes
    41 Posts
    32k Views
    Yannick JaegerY

    Hi,
    I would like to test your plugin but, unfortunately, I run windows arm-64 and this plugin only runs on x86. Do you think it’s possible to release an ARM version ?
    Thank you.

  • 0 Votes
    14 Posts
    13k Views
    Paul StokesP

    A very old thread I know, but this may help someone else.

    I was trying to use Pretty Print to format some MSOffice XML (from a PPT template that had been renamed as a zip). My initial attempts didn’t work “Nothing happened”. I eventually solved the problem when I realised that it wouldn’t work on files still stored in the zip. Notepad++ could read the files and displayed them as 2 looooog lines so I assumed (wrongly) that I could Preetify, edit and write back. In retrospect I should have realised that this was never going to work as the “file” I was working on was a temporary copy.

    Solution: Extract the file from the zip (as opposed to view the file in the zip without extracting properly) , Preetify (which worked of course), edit, save, copy back into the zip overwriting the original.

    An interesting corollary: Using the Windows Explorer zip functionality to open and view the contents (as opposed to extracting them) which uses a rather long temporary folder prefix - Pretty Print didn’t work.
    Using 7Zip which uses a much shorter temporary folder prefix - Pretty Print did work. Obviously, I was still working in a temporary copy which wouldn’t get saved back.

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

  • 0 Votes
    1 Posts
    140 Views
    No one has replied
  • show the current zoom

    Notepad++ & Plugin Development
    30
    1 Votes
    30 Posts
    22k 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

  • 0 Votes
    2 Posts
    148 Views
    PeterJonesP

    @Chec-Pufos ,

    Your specs are more vague than you think they are.

    Assuming you want to replace any positive integer immediately after that specific I:max= with 987 and any positive integer immediately after that specific I:min= with 654, then it could be done with something like:
    FIND = (?-is)(Size\s+{\s*.*\R\s*I:max=)\d+(\s*.*\R\s*I:min=)\d+
    REPLACE = ${1}987${2}654
    SEARCH MODE = Regular Expression
    REPLACE IN FILES

    hopefully, you can figure out what to change in order to replace with values other than 987 or 654

    highly recommended: always back up your data before trying a regex that someone hands you; always try a new regex on a single file and make sure it behaves as you expect before trying on the full 30 files.

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
  • Praise Notepad++

    Praise Notepad++
    2
    3 Votes
    2 Posts
    593 Views
    Maddox ArmstrongM

    @FreeMeow I goon to Notepad++ :P

  • AI Plugin

    Notepad++ & Plugin Development
    1
    1 Votes
    1 Posts
    212 Views
    No one has replied
  • Pascal multi line string highlight

    General Discussion
    4
    0 Votes
    4 Posts
    785 Views
    EkopalypseE

    @ViniwDOrazio

    Yes, when working with multi-line matches enclosed by the same pre- and suffix, you should try to match something unique before the prefix.
    If the number of lines is fixed, you could also adjust the offset configuration parameter accordingly.

  • Planned Migration: Notepad++ Hosting Change in 30 Minutes

    Announcements
    1
    6 Votes
    1 Posts
    673 Views
    No one has replied