• Please Read This Before Posting

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

    Pinned
    15
    0 Votes
    15 Posts
    6k 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
    21k 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.
  • 0 Votes
    8 Posts
    200 Views
    guy038G
    Hello, @pellelin and All, You said in a previous post : [ WD-1 ] [ WD-2 ] etc. is the name of the drives given by me. Windows assigns the drives as (D:) (E:) (F:) (G:) etc. I use a software that creates the directory list, with chosen levels 5, 6 or more if needed. I create a directory list of each HDD and then combine each list to a large .txt file, to do the search for files from. Many large HDDs, many directories, thousands of files = a huge .txt file… So, I suppose that you have 26 files, named WD-1.txt, WD-2.txt and so on till WD-26.txt that you combined in a single huge file, let’s say, Total.txt BTW, the best way to combine several text files is to use the DOS command copy WD-1.txt + WD-2.txt + WD-3.txt + .... + WD-26.txt Total.txt Or, if all your texts are in a same folder, once you’re located within that folder, use simply the DOS ommnand : copy *.* Total.txt Now, if I try to interpret your text : [ WD-1 ] F:\Example\ F:\Example\Animated.gif F:\Example\Example.txt F:\Example\This is a video from the countryside.mp4 F:\Example\--=[ Illustrator\Projects\2024 ~ ~\ F:\Example\--=[ Illustrator\Projects\2024 ~ ~\project four.ai F:\Example\--=[ Illustrator\Projects\2024 ~ ~\project one.ai F:\Example\--=[ Illustrator\Projects\2024 ~ ~\project three.ai F:\Example\--=[ Illustrator\Projects\2024 ~ ~\project two.ai F:\Example\--=[ Images\CRC is good for Contact Clean & Protect\ F:\Example\--=[ Images\CRC is good for Contact Clean & Protect\1754387contactcleanprotect250mlh600-rgb.jpg F:\Example\--=[ Images\CRC is good for Contact Clean & Protect\CRC is good for Contact Clean & Protect.png F:\Example\--=[ Images\Vacation\2025\Cities\ F:\Example\--=[ Images\Vacation\2025\Cities\another town.jpg F:\Example\--=[ Images\Vacation\2025\Cities\old town.jpg F:\Example\--=[ Images\Vacation\2025\Cities\ruins.jpg F:\Example\--=[ Images\Vacation\2025\Cities\this town.jpg F:\Example\--=[ Images\Vacation\2026\ F:\Example\--=[ Images\Vacation\2026\city.jpg F:\Example\--=[ Images\Vacation\2026\fields.jpg F:\Example\--=[ Images\Vacation\2026\stormy.sea.jpg F:\Example\--=[ Images\Vacation\2026\woodlands.jpg F:\Example\--=[ Images\WD-40 Multispray\ F:\Example\--=[ Images\WD-40 Multispray\WD-40 Multispray.jpg F:\Example\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\ F:\Example\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\printproject .png files.png F:\Example\--=[ Photoshop\Projects\2024 ~ ~\PSD\ F:\Example\--=[ Photoshop\Projects\2024 ~ ~\PSD\birthday-grandchildren print files.psd F:\Example\--=[ Photoshop\Projects\2024 ~ ~\PSD\print project .psd files - Copy.psd F:\Example\--=[ Text\Documents\Notepad++\ F:\Example\--=[ Text\Documents\Notepad++\[ WD-1 ].txt F:\Example\--=[ Text\Documents\Notepad++\[ WD-2 ].txt F:\Example\--=[ Text\Documents\Notepad++\[ WD-3 ].txt F:\Example\--=[ Text\Documents\Word\ F:\Example\--=[ Text\Documents\Word\ABC.docx F:\Example\--=[ Text\Documents\Word\DEF.docx F:\Example\--=[ Text\Documents\Word\GHI.docx F:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\ F:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\Berlin.mp4 F:\Example\--=[ Video\--=[ Lowres\Family\1080x720\ F:\Example\--=[ Video\--=[ Lowres\Family\1080x720\Paris.mp4 [ WD-2 ] G:\Example\ G:\Example\Animated Dog.gif G:\Example\Example 2.txt G:\Example\This is a video from the lakeside.mp4 G:\Example\--=[ Illustrator\Projects\2024 ~ ~\ G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project eight.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project five.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project seven.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project six.ai G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\ G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\contactcleanprotect250mlh600-rgb.jpg G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\CRC.png G:\Example\--=[ Images\Vacation\2023\ G:\Example\--=[ Images\Vacation\2023\lakeside.jpg G:\Example\--=[ Images\Vacation\2023\london.jpg G:\Example\--=[ Images\Vacation\2023\new-york.jpg G:\Example\--=[ Images\Vacation\2023\the atlantic.jpg G:\Example\--=[ Images\Vacation\2024\Cities\ G:\Example\--=[ Images\Vacation\2024\Cities\Copenhagen.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Helsingfors.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Stockholm.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Tokyo.jpg G:\Example\--=[ Images\WD-40 Multispray\ G:\Example\--=[ Images\WD-40 Multispray\WD-40.jpg G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\ G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\hoodie .png files.png G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\ G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\grandchildren-print files.psd G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\print project 2022.psd G:\Example\--=[ Text\Documents\Notepad++\ G:\Example\--=[ Text\Documents\Notepad++\[ WD-4 ].txt G:\Example\--=[ Text\Documents\Notepad++\[ WD-5 ].txt G:\Example\--=[ Text\Documents\Notepad++\[ WD-6 ].txt G:\Example\--=[ Text\Documents\Word\ G:\Example\--=[ Text\Documents\Word\JKL.docx G:\Example\--=[ Text\Documents\Word\MNO.docx G:\Example\--=[ Text\Documents\Word\PQR.docx G:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\ G:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\Göteborg.mp4 G:\Example\--=[ Video\--=[ Lowres\Family\1080x720\ G:\Example\--=[ Video\--=[ Lowres\Family\1080x720\Malmö.mp4 [ WD-3 ] H:\Example\--=[ Photoshop\Projects\2000~ ~\PNG-transparent\ H:\Example\--=[ Photoshop\Projects\2001 ~ ~\PNG-transparent\horses.jpg H:\Example\--=[ Photoshop\Projects\2002 ~ ~\PSD\ H:\Example\--=[ Photoshop\Projects\2003 ~ ~\PSD\children-print files.psd H:\Example\--=[ Photoshop\Projects\2004 ~ ~\PSD\printchildren 2022.psd [ WD-4 ] I:\Example\--=[ Photoshop\Projects\2005 ~ ~\PNG-transparent\ I:\Example\--=[ Photoshop\Projects\2006 ~ ~\PNG-transparent\hooligans.jpg I:\Example\--=[ Photoshop\Projects\2007 ~ ~\PSD\ I:\Example\--=[ Photoshop\Projects\2008 ~ ~\PSD\hooligans-print files.psd I:\Example\--=[ Photoshop\Projects\2009 ~ ~\PSD\print hooligans 2022.psd [ WD-5 ] J:\Example\--=[ Photoshop\Projects\2012 ~ ~\PNG-transparent\ J:\Example\--=[ Photoshop\Projects\2013 ~ ~\PNG-transparent\hope.png J:\Example\--=[ Photoshop\Projects\2014 ~ ~\PSD\ J:\Example\--=[ Photoshop\Projects\2015 ~ ~\PSD\hope.psd J:\Example\--=[ Photoshop\Projects\2016 ~ ~\PSD\hopeproject 2016.psd I suppose that your WD-1.txt contains : [ WD-1 ] F:\Animated.gif F:\Example.txt F:\This is a video from the countryside.mp4 F:\--=[ Illustrator\Projects\2024 ~ ~\ F:\--=[ Illustrator\Projects\2024 ~ ~\project four.ai F:\--=[ Illustrator\Projects\2024 ~ ~\project one.ai F:\--=[ Illustrator\Projects\2024 ~ ~\project three.ai F:\--=[ Illustrator\Projects\2024 ~ ~\project two.ai F:\--=[ Images\CRC is good for Contact Clean & Protect\ F:\--=[ Images\CRC is good for Contact Clean & Protect\1754387contactcleanprotect250mlh600-rgb.jpg F:\--=[ Images\CRC is good for Contact Clean & Protect\CRC is good for Contact Clean & Protect.png F:\--=[ Images\Vacation\2025\Cities\ F:\--=[ Images\Vacation\2025\Cities\another town.jpg F:\--=[ Images\Vacation\2025\Cities\old town.jpg F:\--=[ Images\Vacation\2025\Cities\ruins.jpg F:\--=[ Images\Vacation\2025\Cities\this town.jpg F:\--=[ Images\Vacation\2026\ F:\--=[ Images\Vacation\2026\city.jpg F:\--=[ Images\Vacation\2026\fields.jpg F:\--=[ Images\Vacation\2026\stormy.sea.jpg F:\--=[ Images\Vacation\2026\woodlands.jpg F:\--=[ Images\WD-40 Multispray\ F:\--=[ Images\WD-40 Multispray\WD-40 Multispray.jpg F:\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\ F:\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\printproject .png files.png F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\ F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\birthday-grandchildren print files.psd F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\print project .psd files - Copy.psd F:\--=[ Text\Documents\Notepad++\ F:\--=[ Text\Documents\Notepad++\[ WD-1 ].txt F:\--=[ Text\Documents\Notepad++\[ WD-2 ].txt F:\--=[ Text\Documents\Notepad++\[ WD-3 ].txt F:\--=[ Text\Documents\Word\ F:\--=[ Text\Documents\Word\ABC.docx F:\--=[ Text\Documents\Word\DEF.docx F:\--=[ Text\Documents\Word\GHI.docx F:\--=[ Video\--=[ Hires\Vacation\1920x1080\ F:\--=[ Video\--=[ Hires\Vacation\1920x1080\Berlin.mp4 F:\--=[ Video\--=[ Lowres\Family\1080x720\ F:\--=[ Video\--=[ Lowres\Family\1080x720\Paris.mp4 Your WD-2.txt contains : [ WD-2 ] G:\Animated Dog.gif G:\Example 2.txt G:\This is a video from the lakeside.mp4 G:\Example\--=[ Illustrator\Projects\2024 ~ ~\ G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project eight.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project five.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project seven.ai G:\Example\--=[ Illustrator\Projects\2024 ~ ~\project six.ai G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\ G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\contactcleanprotect250mlh600-rgb.jpg G:\Example\--=[ Images\CRC is good for Contact Clean & Protect\CRC.png G:\Example\--=[ Images\Vacation\2023\ G:\Example\--=[ Images\Vacation\2023\lakeside.jpg G:\Example\--=[ Images\Vacation\2023\london.jpg G:\Example\--=[ Images\Vacation\2023\new-york.jpg G:\Example\--=[ Images\Vacation\2023\the atlantic.jpg G:\Example\--=[ Images\Vacation\2024\Cities\ G:\Example\--=[ Images\Vacation\2024\Cities\Copenhagen.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Helsingfors.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Stockholm.jpg G:\Example\--=[ Images\Vacation\2024\Cities\Tokyo.jpg G:\Example\--=[ Images\WD-40 Multispray\ G:\Example\--=[ Images\WD-40 Multispray\WD-40.jpg G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\ G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\hoodie .png files.png G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\ G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\grandchildren-print files.psd G:\Example\--=[ Photoshop\Projects\2022 ~ ~\PSD\print project 2022.psd G:\Example\--=[ Text\Documents\Notepad++\ G:\Example\--=[ Text\Documents\Notepad++\[ WD-4 ].txt G:\Example\--=[ Text\Documents\Notepad++\[ WD-5 ].txt G:\Example\--=[ Text\Documents\Notepad++\[ WD-6 ].txt G:\Example\--=[ Text\Documents\Word\ G:\Example\--=[ Text\Documents\Word\JKL.docx G:\Example\--=[ Text\Documents\Word\MNO.docx G:\Example\--=[ Text\Documents\Word\PQR.docx G:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\ G:\Example\--=[ Video\--=[ Hires\Vacation\1920x1080\Göteborg.mp4 G:\Example\--=[ Video\--=[ Lowres\Family\1080x720\ G:\Example\--=[ Video\--=[ Lowres\Family\1080x720\Malmö.mp4 And so on, till the WD-26.txt Now, I do not understand exactly your problem ! Once all these WD-?? files are combined in the single file Total.txt, searching for Malmö in normal search mode, within the Total.txt, will automatically redirect you to the line : G:\--=[ Video\--=[ Lowres\Family\1080x720\Malmö.mp4 Where it’s easy to notice that the Malmö video file is located on G:\Video\Lowres\Family\1080x720 ! So, in brief, I guess we just do not understand each other ! Could you give me some more information, if you think it’s worth it ? Best Regards guy038
  • possible to delete almost duplicate lines?

    3
    0 Votes
    3 Posts
    50 Views
    tenchyUKT
    @PeterJones Hi Peter, No there is only ever the 2 forms of the lines. I usually applut a lex sort then remove duplicate lines. So I would end up with: G7ODA,IO93WS, G7ODA,IO93WS,PE, P01AZ,IO55WS, P01AZ,IO55WS,XY, I can sort again after as that takes split second. Thanks for the suggestion, I shall try that.
  • Jump List not being added to

    9
    1 Votes
    9 Posts
    318 Views
    rednoise0R
    @PeterJones - Yes! It works that way for me, too. That’s the magic bullet - have Windows to add it to the Open With list, which triggers creating the file in AutomaticDestinations\ which will then start collecting file names. I now have my jump list back. Thanks for helping me puzzle this through. I have a few files that I use daily and this makes my work flow much more efficient.
  • Increase Fold (Plus/Minus) Code Bracket Size?

    2
    0 Votes
    2 Posts
    58 Views
    PeterJonesP
    @jabcreations said: The only “people” using 800x600 these days are bots. That’s an absurd exaggeration. Whether or not there’s anyone on 800x600, there are plenty of people still using 1920x1080 monitors. (In case you don’t believe me, per April 2026 Steam HW/SW survey, more than 50% of Steam users are running at 1920x1080. So it’s still reasonable behavior for more than half of users – and that’s skewed toward gamers, who are more likely to have “fancy” tech; I am confident that in general, even higher percentage is still using 1920x1080.) Did I miss something or does this need to be a feature request? Could it be improved for 4K users? Likely (I’ve never used a 4K monitor, so I have no experience). There’s a long-open set of 4K issues in the official tracker, and it wouldn’t surprise me if this were already one of the open issues remaining… You might want to search the 4K issues in the repo to see if it already exists. But in the meantime, what’s your OS display scaling set to. Normally, with 4K, it’s somewhere in the 150% to 200%, IIRC from other posts. But if you’re at 100%, then of course GUI elements will be tiny.
  • 0 Votes
    3 Posts
    83 Views
    EvgenyVenalainenE
    @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
  • Inability to save file to OneDrive with 8.9.6 version of Notepad++

    5
    0 Votes
    5 Posts
    398 Views
    PeterJonesP
    @smcclosr said: Not 100% user if this version addressed this specific issue, It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive) My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.) but it is resolved for me now. Hopefully it stays that way. Good luck.
  • Is there a way to do a new Page Break

    17
    0 Votes
    17 Posts
    948 Views
    AlanRobbo 69A
    Thank You Everyone for your Time and Effort.
  • Force single Reload from command-line?

    3
    0 Votes
    3 Posts
    233 Views
    Dev NullD
    @PeterJones Thanks!
  • New to Notepad++ and trying to convert 12 hour time to 24

    4
    0 Votes
    4 Posts
    513 Views
    LachlanmaxL
    @guy038 Just to say, I tried your solution in native N++ for kicks, and it worked! So kudos for an elegant idea. :)
  • Find/replace

    9
    0 Votes
    9 Posts
    463 Views
    guy038G
    Hello, @balancedcircular, @terry-r, @coises and All, I suppose that the following regex S/R should be close to what you want ! I consider the entire line because you may have other lines with attributes Name and/or Comments FIND (?-si)^(<RectangularPart Version=.+ Name=")\d\d\d (.+/.).+?(\d")(.+ Comments=").+(?=>) REPLACE $1$2$3$4$2$3 As @coises said, try this global replacement on a copy of your file ! If everything works as expected, I’ll explain you, next time, how all the regex syntax means ! Best Regards, guy038 I almost forgot the last line of your post. To simultaneously search for any of the three words Rafter, C.Tie and Web, simply use the regex (?-i)Rafter|C\.Tie|Web
  • Windows content is blank on remote notepad++ sessions

    19
    0 Votes
    19 Posts
    9k Views
    xomxX
    [image: 1777628352084-npp-working-rendering-modes-for-rdp.png]
  • Notepad++ VERY slow to open

    22
    0 Votes
    22 Posts
    16k Views
    Boku YamiB
    @Jeff-Esposito said in Notepad++ VERY slow to open: e gotten my new computer Notepad++ takes 40-50 seconds to launch. I have removed all plugins and don’t check recent file history at launch is checked. There are no open unsaved tabs, even though that is how I want to use it and use it on my old pc and my work laptop. the install It becomes slow when using “Show Folder As Workspace” (which displays the workspace folder on the left side). It starts quickly when this option is turned off.
  • Invisible spaces

    11
    0 Votes
    11 Posts
    10k Views
    Lucas BrunoL
    Yeah, this usually happens with non-breaking spaces (U+00A0) or other Unicode space characters that look invisible but behave differently from normal spaces. Using \xA0 in regex was the right fix 👍 If you face this again, you can: Use \x{00A0} or \s to detect space variants Check in hex editor to identify exact character Then replace all in one go Also, if you’re unsure which invisible character it is, you can test different ones using tools like espaço invisível before applying them in your editor.
  • changing the font

    5
    1
    0 Votes
    5 Posts
    2k Views
    H
    Honestly, this cleared up a big confusion for me. I used to think fonts were saved with the file itself, but it makes sense now that it’s just the editor displaying it differently. Also didn’t realize enabling global font overrides can mess with syntax highlighting—good catch. I’ve been tweaking text styles a lot lately while testing name formats on font generator, so this helps keep things consistent
  • Search & Replace help "Swap numbers in middle of code"

    10
    0 Votes
    10 Posts
    975 Views
    guy038G
    ello, @ricardo-barroso, @peterjones, @terry-r and All, An other S/R could be : FIND (?-i)RequiredItem.+, \K\d+ REPLACE 0 The search regex means : First, find a string RequiredItem, with that exact case because of the leading part (?-i) Then find any NON-zero number of chars ( .+ ) till a comma followed with a space char Now, forget anything matched so far, due to the \K syntax And just match a non-zero list of digits ( \d+ ), which come next Finally, replace that number by 0 Remark : You must do a global S/R, using the Replace All button. Due to the \K syntax a step by step replacement, with the Replace button, would not work ! Best Regards, guy038
  • Daily Reliability Monitor events

    3
    1
    0 Votes
    3 Posts
    505 Views
    xomxX
    @PeterJones That “Stopped working” is a common overall expression there for the app crashes, hungs etc. So @mapsonx should open that “details” you mentioned or simply launch the Windows EventViewer, i.e.: press WinKey+R to invoke the Windows Run-dialog copy & paste there: eventvwr.msc /c:"Application" and click OK wait for the Event Viewer launching and attaching to OS logs search/filter there for “Error” Level records (or simply follow the ReliabilityMonitor published date/time of the N++ problem), with “notepad++.exe” within app crashes usually have as log Source “Application Error”, frozen apps “Application Hang” Then publish here what the content of such a record tell us, e.g.: Faulting application name: notepad++.exe, version: 8.9.3.0, time stamp: 0x69bc8a94 Faulting module name: USER32.dll, version: 10.0.19041.6926, time stamp: 0xcd1afcbd Exception code: 0xc0000005 Fault offset: 0x00000000000467cd Faulting process id: 0x296c Faulting application start time: 0x01dcce3ba0a16cb7 Faulting application path: ...\npp.8.9.3.portable.x64\notepad++.exe Faulting module path: C:\Windows\System32\USER32.dll
  • Line number issues

    line number
    7
    0 Votes
    7 Posts
    512 Views
    Ronald BesdanskyR
    @Ronald-Besdansky Hi Terry Deleting that plugin fixed the issue. Thanks.