• Please Read This Before Posting

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

    Pinned
    14
    0 Votes
    14 Posts
    814 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
    5k 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.

  • Python Script editor.replace Bug? concerning the characters '(' and ')'

    26
    0 Votes
    26 Posts
    350 Views
    Alan KilbornA

    @Mark-Olson said:

    …using the (*SKIP)(*FAIL) backtracking control verbs in your regexes. This is a problem for you in particular because NPP’s Boost supports those operators but Python’s re does not.

    If it comes to that, there are some techniques where you can avoid usage of Python re module entirely. I call it the hidden-third-editor technique, look at it HERE.

  • 0 Votes
    8 Posts
    85 Views
    xomxX

    @Mark-Colvin

    Could you please report your Windows Registry relevant info:

    Save the following to a file (named e.g. WinVerRegKeys-export.cmd) somewhere writable on your disk: PowerShell "$Key='HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'; Get-ItemProperty -Path $Key -Name *" > WinVerRegKeys64.txt PowerShell "$Key='HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion'; Get-ItemProperty -Path $Key -Name *" > WinVerRegKeys32.txt Run the WinVerRegKeys-export.cmd batch file by e.g. doubleclicking on it in Explorer. Take the contents of the created WinVerRegKeys32.txt and WinVerRegKeys64.txt files and post them please here.
  • Autocomplete stopped working

    6
    0 Votes
    6 Posts
    88 Views
    Taras TkachenkoT

    P. S. Reinstalling fixed it.

  • Create many macro but the same message is used

    4
    0 Votes
    4 Posts
    82 Views
    SebastienTSAVS

    Hello,

    I understand what was my issue : each macro corresponding of recording of some words.
    exemple (between double quotes)
    "
    [SI]

    [FINSI]
    [ALORS]

    [FINALORS]
    "
    and to accelerate, i use a copy-paste to create each macro and I don’t type the text letter after letter. But Notepad record PASTE action, not the texte of the paste action (that’s makes sens) !

    sorry for that !
    thank you for your help !
    Regards,
    Sébastien

  • Support for Windows 11 LTSC

    3
    0 Votes
    3 Posts
    138 Views
    A

    Hi Peter,

    Many thanks for your response and apologies it’s taken me so long to check back for follow-ups. The main thrust of my question is to whether there are any currently known issues running Notepad ++ specifically on a Windows 11 Enterprise LTSC environment. That is, issues that are exclusive to LTSC which don’t exist if Notepad ++ was being run on the standard version of Windows 11 Enterprise.

    We’re trying to get ‘ahead of the game’ by asking questions like this of various COTS software vendors and Open Source development prior to testing / deployment.

    Our intent will be to always use the latest version of Notepad ++, which would be applied manually as the system in question is not Internet connected.

    If the understanding is that there haven’t been any reports of issues running Notepad ++ on Windows 11 LTSC then that’s great and we’d just be aware to raise any issues if encountered.

  • Loss of ability to create two vertical lines in Vertical Edge Settings

    6
    0 Votes
    6 Posts
    67 Views
    Terry RT

    @FNActivity said in Loss of ability to create two vertical lines in Vertical Edge Settings:

    I can always see the two vertical lines (as shown in the previous image). I actually wanted to enable the Background mode option when both vertical lines are visible

    Thanks for responding and letting us know. Yes, it was a bit of a wild goose chase. At least you appear to have answered your own question which isn’t the one in the title.

    Terry

  • Nppexec console window not showing

    3
    0 Votes
    3 Posts
    45 Views
    First LastF

    @Ekopalypse

    Edited config.xml like the post asked and got the console window to appear.

    Thank you!

  • assign the same keyboard shortcut to multiple Macros

    4
    0 Votes
    4 Posts
    53 Views
    Alan KilbornA

    @mathlete2 said in assign the same keyboard shortcut to multiple Macros:

    there currently isn’t a way of configuring NP++ to disable a specific Macro as soon as something is selected?

    Correct.
    Macros in Notepad++ are really simple. And simple-minded.
    If you want to open things up to scripting (programming), then you can do just about anything you want.

  • LINE JOINING WITH MULTIPLE PARAGRAPHS

    5
    0 Votes
    5 Posts
    107 Views
    PeterJonesP

    @mkupper said in LINE JOINING WITH MULTIPLE PARAGRAPHS:

    I stopped using TextFX a few years ago and don’t know if any modern replacements have a similar feature.

    Looking at our TextFX Replacement FAQ from a couple years ago, the NppTextFX2 plugin hadn’t yet gotten the TextFX Edit submenu (which includes the Rewrap comand) to work. However, that FAQ does say

    Rewrap == this can be implemented in PythonScript¹: this “rewrap script”
  • 0 Votes
    19 Posts
    31k Views
    Andrey DenisenkoA

    Hi There!
    I’m from the year 2025.
    And this insanely annoying issue is still here!

    Good job team!

  • View problem with break lines auto, bug?

    3
    0 Votes
    3 Posts
    57 Views
    mkupperM

    @Shinoda-kl Does the flicker only happen as you are moving the divider between the main text area and NppFTP? Does it happen if you make Notepad++ a window and use the dragger thing in the lower-right corner to resize the application?

    I installed the NppFTP plugin and saw one minor issue. When I move the divider line to the right there are many shadows of the divider that persistent for about 1/2 second but the screen goes back to normal. I never got the jitter that you are seeing.

    I then enabled word wrap which you seem to be using and there is a slight flicker at times as I drag the divider but no jitter. That prompted me to remove or uninstall NppFTP and to instead see what happens if I make npp a window and to resize it using the dragger in the lower-right corner and moving the mouse in a circle. There is some flicker as the word wrapping does its thing but I never got into a continuous jitter state.

    As times over the years I have had applications, including Notepad++ and Firefox, get into a state where it jitters much like what happens at times in your video. The issue is far more common with Firefox. It’s painting the screen and mid-way through painting the code that tries to fit things on the screen realized it’s painted its way into a virtual corner and so it starts painting again using slightly different parameters to get the text to fit, that also gets into a virtual corner and so it tries the first set of parameters again. There’s a loop of repainting two versions of the text.

    It’s rare for me and from what I recall tends to happen when I’m resizing an application or the dividers. I suspect it’s an edge condition in text drawing code. The workaround is easy in that I change the size or divider by a pixel.

    Reproducing on demand is not easy.

    If it’s a very common issue for you and you are willing to put some effort into creating a setup that one of us can 100% duplicate then we may be able to write up steps that allow one of the Notepad++ developers to get the application into the jitter state while also trying to fully understand what bit of code has the edge condition.

  • Microsoft "Quotes"

    8
    0 Votes
    8 Posts
    542 Views
    mathlete2M

    @guy038 many thanks for this useful regex code!

    For those who wish to put it into a Macro for more convenient usage, you can use the code block below as a template. Note that the default shortcut sequence is Ctrl+' on US standard keyboards.

    <Macro name="Convert smart quotes to code quotes" Ctrl="yes" Alt="no" Shift="no" Key="222"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="([“”])|[‘’]" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="?1&quot;:&apos;" /> <Action type="3" message="1702" wParam="0" lParam="768" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> </Macro>
  • 0 Votes
    12 Posts
    143 Views
    Black FoxB

    @mkupper Thank you! Thank you sooo much!
    You saved me at least one hour of manually selecting and deleting!!!
    Thank you all very much!

  • Open all files in Directory

    6
    0 Votes
    6 Posts
    56 Views
    Robert Or Janet DiebelR

    @Mark-Olson Thanx, good point.

  • To start a Note Pad

    5
    0 Votes
    5 Posts
    116 Views
    Almighty1A

    @PeterJones said in To start a Note Pad:

    @Almighty1 said in To start a Note Pad:

    not sure if using the full path\notepad++.exe will also run it or not.

    Yes, that’s the way Windows works with any command-line-launched program: it can run anything that you give it the full path to, and whatever you run will start with the current working directory as the app’s working directory.

    Thanks for confirming as I didn’t have the portable version around to confirm if it works or not.

    I only mentioned that as with a few tasks in Task Scheduler, it will not run until I put in a Start in matching the same folder as the full path of the executable it is running in, otherwise the task won’t successfully run. A example of this is HWInfo and System Informer (formerly Process Hacker) but ofofcourse it might be a task scheduler requirement.

  • Replace text in search results?

    10
    0 Votes
    10 Posts
    950 Views
    Terry RT

    @Jacob-Stephenson
    You have given up too early.

    I’ll give you this on a platter:

    Example (taken from earlier posts with your strings embedded on some lines)

    abLckEXPR_cX2 cab X2c LckEXPR_ cc z aX2 cLckEXPR_ dd ab c c abcccc

    Find What:(?-s)^(?=.*LckEXPR_).*\KX2
    Replace With:X3
    Copy the red text above exactly and insert in the appropriate field in the “Replace” function.
    search mode as “regular expression”
    Cursor in first position of file, click on “Replace All”

    Replace All is required due to the use of the \K command.

    Resulting file will be:

    abLckEXPR_cX3 cab X3c LckEXPR_ cc z aX3 cLckEXPR_ dd ab c c abcccc

    Terry

    PS go to regex101 website where this regex and example are shown. Description on right might help you start to understand the code.

  • Search/Replace question regarding Replace part

    3
    0 Votes
    3 Posts
    42 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Thanks, I did try that already, but the result is the same. It still puts that space in at the start of the line. :-(

    Edit: But thanks for the input and I did find the problem after looking at it again…It’s my fault. I added a space in the Replace line. DOH!! I also added the \n, as well so thanks.

    Told you my head wasn’t working right today. :)