• Support for Windows 11 LTSC

    3
    0 Votes
    3 Posts
    267 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
    122 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
    90 Views
    First LastF

    @Ekopalypse

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

    Thank you!

  • LINE JOINING WITH MULTIPLE PARAGRAPHS

    5
    0 Votes
    5 Posts
    152 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
    83 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
    637 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
    225 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
    99 Views
    Robert Or Janet DiebelR

    @Mark-Olson Thanx, good point.

  • To start a Note Pad

    5
    0 Votes
    5 Posts
    246 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
    1k 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
    67 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. :)

  • 0 Votes
    3 Posts
    104 Views
    Craig CheekC

    @mkupper I appreciate your reply. The path to the executable is correct. After conferring with a co-worker, I was able to resolve this by adding code to get the logged in user account and creating a scheduled task to run as that user to launch notepad++.

  • 0 Votes
    3 Posts
    140 Views
    2

    Perfect solution, thanks a lot, you’re the man.

  • Notepad++ is cleared after exiting abnormally.

    6
    0 Votes
    6 Posts
    135 Views
    PeterJonesP

    @LhxVinCent said in Notepad++ is cleared after exiting abnormally.:

    No backup files were found in the local backup directory.

    Can you paste a screenshot of your Settings > Preferences > Backup page?

    Because I am not sure exactly what you mean by “local backup directory”. The possibilities that I can think of:

    If you mean the one in %AppData%\Notepad++\backup\ , that only holds the session-snapshot-and-periodic-backup saves (which are the temporary copies that happen every 7 seconds [by default] when you are between Ctrl+S/File>Save; but as soon as you do a real save, that snapshot is deleted until you have more unsaved changes) If you have the Backup On Save preference set to Simple or Verbose: and have defined the Custom Backup Directory, then every time you use Ctrl+S/File>Save, it should save a backup to that custom directory. If that’s not happening, that’s a problem (which is why I want to see your Backup preferences screenshot) or instead have not enabled Custom Backup Directory, then the simple backup-on-save will be in the same directory as your file, or the verbose backup-on-save will be in the .\nppBackup\ subdirectory relative to your active file’s directory. And again, it should update or save a new copy every time you hit Ctrl+S or File>Save if this is your option setup.

    For better understanding Notepad++'s various backup features in the future, you will want to read the User Manual section on the Backup Preferences (https://npp-user-manual.org/docs/preferences/#backup) as well as this Forum’s Backup FAQ

    the tragedy was that the document that usually kept important records was emptied.I’ve been saving with Ctrl + S all the time during the editing process.

    I was originally thinking you were just relying on “session snapshot and periodic backup”, but if you’ve been actively saving using Ctrl+S, that is reasonable behavior on your part.

    As @Terry-R mentioned, v8.1.4 is pretty old at this point. Really old versions of Notepad++ used to have a bug where under certain unique Windows OS shutdown/crash conditions, a file being edited by Notepad++ would be saved as all NULL characters – you didn’t mention NULL, but maybe that’s what you are seeing. Over the last few years, Notepad++ has been drastically improved in that regard, but having a copy that’s 3.5 years old, that might be what has happened to you.

    Using the techniques that @Almighty1 mentioned, or other file recovery software (the FAQ mentions a potential, though we cannot guarantee or warranty it), might help you recover your original files.

    For the sake of your data going forward, I would highly recommend updating to v8.7.5 to get the last few years of bug fixes and improvements; and highly recommend reading and understanding the User Manual section and FAQ entry that I linked to earlier in this reply.

  • 0 Votes
    4 Posts
    159 Views
    dr ramaanandD

    @VertyyBird It would be simpler to select the Regular expression mode, put the 2 lines you want to find in the, “Find” field and hit Replace after typing $0\r\n(new line1)\r\n(new line2)\r\n(new line3)\r\n(new line4)\r\n(new line5)\r\n(new line6)\r\n(new line7)\r\n(new lin8)\r\n(new line9)\r\n(new lline10)\r\n(new line11)\r\n(new line12)\r\n(new line13)\r\n(new line14)\r\n(new line15)\r\n(new line16)\r\n(new line17)\r\n(new lin18)\r\n(new line19)\r\n(new lline20)\r\n(new line21)\r\n(new line22)\r\n(new line23)\r\n(new line24)\r\n(new line25)\r\n(new line26)\r\n(new line27)\r\n(new lin28)\r\n(new line29)\r\n(new lline30) in the “Replace” field - the \r\n(new line) puts the new line on the next line. I am presuming that you have to add some 30 new lines

  • Search and Replace Question - Need help fixing a file

    3
    1 Votes
    3 Posts
    102 Views
    Almighty1A

    @PeterJones - Thanks for the assistance!

    You are right, some of the parts are obvious but I didn’t want to mess up the template by deleting things that don’t apply in case it is needed to produce the correct output in the post itself. Same reason, I didn’t delete the “To accomplish this,” section because while I knew from searching that \r\n meant carriage return, in the before data, I wasn’t sure what to use because as you can see, I knew one had to look for "<setting " but then I looked at it and noticed that there are two versions of "<setting ", one being "<setting " with the second one being “<setting name=”, and obviously, nothing needed to be done for “<setting name=” so my thought was I thought, I needed to make it ignore the “<setting name=” lines as part of the find which was really what made it more difficult in the search part.

  • Portable Version Pin to Taskbar Issue

    4
    0 Votes
    4 Posts
    153 Views
    mkupperM

    @Propono-Web-Hosting

    At first I thought I could replicate your issue but in then when trying to carefully to repeat my steps so I could document the reproduction steps I discovered that a pinned portable worked fine…

    What I would do is to first unpin Notepad++, make sure no instances of Notepad++ are running, and then start a portable copy using however you normally start portable copies.

    Once the portable copy is running then save a copy of Notepad++'s debug info in Microsoft Notepad. Then right on the Notepad++ on the task bar, pin it, and close/exit Notepad++ to have just the pin showing.

    Do not start Notepad++ using the pin just yet. Instead, right click on the pin for Notepad++ in the task bar and right click the “Notepad++” at the top of the menu that shows up, and then left click on Properties. It defaults to the Shortcut tab of the properties and is in the Target field. I don’t see an obvious way to add the command line and so appended the command line parameters I wanted to the end of the Target field.

    Save that to the shortcut and start Notepad++ using the pin. Get the debug info again and verify that the path and command line exactly match what you saved when you had first started the portable copy.

    I had two strange things happen when I was trying to replicate. One of that was when copy/pasting the command line parameters I needed that the “quotes” around became unbalanced. It caused Notepad++ to try to create a file named “-multiInst” which I declined. I don’t know if I made a mistake or Windows did did something to unbalance the quotes. The result was when started Notepad++ that I got some odd behavior that seems much like what you saw. That’s why I’m suggesting to first get the debug info, then to fix up the Target, and them to re-verify the debug info once I have started Notepad++ using the pin.

    The other strange thing is that I normally use an installed copy of Notepad++. In the process of testing pins all of the session/tabs from my portable copy ended up getting appended to the tabs/files for the installed copy. My installed copy is single instance and the portable copies are normally run with -multiInst. As pinning does not transfer the command line I had first accidentally started a portable copy using my new pin without command line parameters. That started the portable copy in single instance mode and I suspect Notepad++ has some instance sharing stuff that resulted in my portable tabs/files getting appended to the tabs used by the installed copy.

  • 0 Votes
    5 Posts
    135 Views
    dr ramaanandD

    @Terry-R Using {Delay 0.05}\2\1\2\3 in the Replace field will be more accurate

  • Find line containing word and the next line below it

    3
    0 Votes
    3 Posts
    86 Views
    deleeleeD

    @Terry-R said in Find line containing word and the next line below it:

    I’d go for a “Mark” with bookmark lines selected.

    Use:(?-s)^(?=.*tweak:)(.+\R.+\R) and click Mark All. All the tweak lines and corresponding following lines are bookmarked. Then you’d just copy the bookmarked lines to another tab.

    Thanks, Terry, perfect!!