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

      Notepad++ release 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      37
      1 Votes
      37 Posts
      4k Views
      fml2F
      @donho no I didn’t, but the last installations worked without problems and I have not done anything in the installation folder. Anyway, the program works now, and I’m apparently the only one who experienced the problem, so no need to investigate it further. Thank you for the time taken!
    • AlanRobbo 69A

      Is there a way to do a new Page Break

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      17
      0 Votes
      17 Posts
      950 Views
      AlanRobbo 69A
      Thank You Everyone for your Time and Effort.
    • Robk BlueR

      Issues with the Preview HTML plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      17
      0 Votes
      17 Posts
      1k Views
      rdipardoR
      @Robk-Blue said: If I close the PreviewHTML pane before closing NP, it will work when I open the app next time. Yes, closing it before quitting will stop the Docking Manager from trying to relaunch it. I’m guessing you also have an active session of unsaved files? I’m not sure, but it could be that reloading files from a session doesn’t trigger a preview refresh the way that manually opening the file does. If it happens again, just save the file and reload it with Ctrl+R. Another thing is that your version of TextFX is really old. For reference, version 0.2.6 has been incompatible with Notepad++ for several years: https://sourceforge.net/p/npp-plugins/bugs/354 You should remove or rename the NppTextFX plugin folder, open the Plugins Admin installer, and download it again from the current source: [image: 1779246861901-npp-v893-plugin-list-v193.png]
    • donhoD

      Notepad++ release 8.9.5

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      15
      1 Votes
      15 Posts
      4k Views
      xomxX
      @donho Fixed, perfect! Tried both the 32-bit on x86 Win81 and the x64-bit on x64 Win11. Now the only thing, which is always incorrectly left after (both with 32- and 64-bit N++ version uninstallers), is the C:\Program Files\Notepad++\localization\kabyle.xml file.
    • Louis WindsorL

      Facilities to create PostScript hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      13
      0 Votes
      13 Posts
      892 Views
      PeterJonesP
      Sorry! It is NOT that I refuse to help you. It is mostly I don’t know how… I asked for screenshots (a normal function of Windows, which I assumed you would know how to grab). I asked for the Debug Info (I told you what menu to go into to get it). You provided neither. Also, I thought telling you that NOTHING showed in " -> Configuration" was self evident and DIDN’T need a screen snapshot? The screenshot would have confirmed: 1) that there really was “nothing” there (maybe you and I have a different definition of “nothing”), 2) whether you had really selected “user scripts” or had selected “machine scripts”, and 3) that you were willing to follow instructions to try to get help. I’m happy to announce I’ve fixed it!!! Don’t ask me how but my WHOLE NP++ setup was weird!!! It seemed half in Program Files and half in AppData. That’s not weird. That’s how Notepad++ and PythonScript are intentionally set up. The FAQ footnote that I’ve begged you to read explains why there are the two different script locations. In fiddling around I copied the PythonScript directory from Program Files into AppData and TaDa! Everything fell into place… EVERYTHING WORKED like clockwork! You thus copied way too much. You could have copied just the scripts. Or you could have just clicked the “machine scripts” button in the dialog, like I told you to, and not had to copy any files. THANK YOU for your responses and help. Glad you’ve got it working.
    • pellelinP

      How can I do a search that results including/highlights the file name, the folder and the HDD name?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      5
      0 Votes
      11 Posts
      258 Views
      guy038G
      Hi, @pellelin and All, Continuation and end of my post ! Now, open the Replace dialog ( Ctrl + H ) Uncheck all box options FIND (?-si)^(\u:.+)(?=(?s:.+?)^(\x5B WD-\d+ \x5D)$)|^\x5B WD-\d+ \x5D\R REPLACE ?2\2\t\1 ( Note that this present regex replacement is completely different, of course, from the solution given in this post https://community.notepad-plus-plus.org/post/105618 ! ) Check the Wrap around option Select the Regular expression search mode Click on the Replace All button Then, re-run the Edit > Line operations > Reverse line order option ( IMPORTANT ) Finally, save this new Total.txt file for future study within N++ or Excel ! Your new Total.txt file ( the expected OUTPUT text ) should be as below : [ WD-1 ] F:\ [ WD-1 ] F:\Animated.gif [ WD-1 ] F:\Example.txt [ WD-1 ] F:\This is a video from the countryside.mp4 [ WD-1 ] F:\--=[ Illustrator\Projects\2024 ~ ~\ [ WD-1 ] F:\--=[ Illustrator\Projects\2024 ~ ~\project four.ai [ WD-1 ] F:\--=[ Illustrator\Projects\2024 ~ ~\project one.ai [ WD-1 ] F:\--=[ Illustrator\Projects\2024 ~ ~\project three.ai [ WD-1 ] F:\--=[ Illustrator\Projects\2024 ~ ~\project two.ai [ WD-1 ] F:\--=[ Images\CRC is good for Contact Clean & Protect\ [ WD-1 ] F:\--=[ Images\CRC is good for Contact Clean & Protect\1754387contactcleanprotect250mlh600-rgb.jpg [ WD-1 ] F:\--=[ Images\CRC is good for Contact Clean & Protect\CRC is good for Contact Clean & Protect.png [ WD-1 ] F:\--=[ Images\Vacation\2025\Cities\ [ WD-1 ] F:\--=[ Images\Vacation\2025\Cities\another town.jpg [ WD-1 ] F:\--=[ Images\Vacation\2025\Cities\old town.jpg [ WD-1 ] F:\--=[ Images\Vacation\2025\Cities\ruins.jpg [ WD-1 ] F:\--=[ Images\Vacation\2025\Cities\this town.jpg [ WD-1 ] F:\--=[ Images\Vacation\2026\ [ WD-1 ] F:\--=[ Images\Vacation\2026\city.jpg [ WD-1 ] F:\--=[ Images\Vacation\2026\fields.jpg [ WD-1 ] F:\--=[ Images\Vacation\2026\stormy.sea.jpg [ WD-1 ] F:\--=[ Images\Vacation\2026\woodlands.jpg [ WD-1 ] F:\--=[ Images\WD-40 Multispray\ [ WD-1 ] F:\--=[ Images\WD-40 Multispray\WD-40 Multispray.jpg [ WD-1 ] F:\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\ [ WD-1 ] F:\--=[ Photoshop\Projects\2024 ~ ~\PNG-transparent\printproject .png files.png [ WD-1 ] F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\ [ WD-1 ] F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\birthday-grandchildren print files.psd [ WD-1 ] F:\--=[ Photoshop\Projects\2024 ~ ~\PSD\print project .psd files - Copy.psd [ WD-1 ] F:\--=[ Text\Documents\Notepad++\ [ WD-1 ] F:\--=[ Text\Documents\Notepad++\[ WD-1 ].txt [ WD-1 ] F:\--=[ Text\Documents\Notepad++\[ WD-2 ].txt [ WD-1 ] F:\--=[ Text\Documents\Notepad++\[ WD-3 ].txt [ WD-1 ] F:\--=[ Text\Documents\Word\ [ WD-1 ] F:\--=[ Text\Documents\Word\ABC.docx [ WD-1 ] F:\--=[ Text\Documents\Word\DEF.docx [ WD-1 ] F:\--=[ Text\Documents\Word\GHI.docx [ WD-1 ] F:\--=[ Video\--=[ Hires\Vacation\1920x1080\ [ WD-1 ] F:\--=[ Video\--=[ Hires\Vacation\1920x1080\Berlin.mp4 [ WD-1 ] F:\--=[ Video\--=[ Lowres\Family\1080x720\ [ WD-1 ] F:\--=[ Video\--=[ Lowres\Family\1080x720\Paris.mp4 [ WD-2 ] G:\ [ WD-2 ] G:\Animated Dog.gif [ WD-2 ] G:\Example 2.txt [ WD-2 ] G:\This is a video from the lakeside.mp4 [ WD-2 ] G:\--=[ Illustrator\Projects\2024 ~ ~\ [ WD-2 ] G:\--=[ Illustrator\Projects\2024 ~ ~\project eight.ai [ WD-2 ] G:\--=[ Illustrator\Projects\2024 ~ ~\project five.ai [ WD-2 ] G:\--=[ Illustrator\Projects\2024 ~ ~\project seven.ai [ WD-2 ] G:\--=[ Illustrator\Projects\2024 ~ ~\project six.ai [ WD-2 ] G:\--=[ Images\CRC is good for Contact Clean & Protect\ [ WD-2 ] G:\--=[ Images\CRC is good for Contact Clean & Protect\contactcleanprotect250mlh600-rgb.jpg [ WD-2 ] G:\--=[ Images\CRC is good for Contact Clean & Protect\CRC.png [ WD-2 ] G:\--=[ Images\Vacation\2023\ [ WD-2 ] G:\--=[ Images\Vacation\2023\lakeside.jpg [ WD-2 ] G:\--=[ Images\Vacation\2023\london.jpg [ WD-2 ] G:\--=[ Images\Vacation\2023\new-york.jpg [ WD-2 ] G:\--=[ Images\Vacation\2023\the atlantic.jpg [ WD-2 ] G:\--=[ Images\Vacation\2024\Cities\ [ WD-2 ] G:\--=[ Images\Vacation\2024\Cities\Copenhagen.jpg [ WD-2 ] G:\--=[ Images\Vacation\2024\Cities\Helsingfors.jpg [ WD-2 ] G:\--=[ Images\Vacation\2024\Cities\Stockholm.jpg [ WD-2 ] G:\--=[ Images\Vacation\2024\Cities\Tokyo.jpg [ WD-2 ] G:\--=[ Images\WD-40 Multispray\ [ WD-2 ] G:\--=[ Images\WD-40 Multispray\WD-40.jpg [ WD-2 ] G:\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\ [ WD-2 ] G:\--=[ Photoshop\Projects\2022 ~ ~\PNG-transparent\hoodie .png files.png [ WD-2 ] G:\--=[ Photoshop\Projects\2022 ~ ~\PSD\ [ WD-2 ] G:\--=[ Photoshop\Projects\2022 ~ ~\PSD\grandchildren-print files.psd [ WD-2 ] G:\--=[ Photoshop\Projects\2022 ~ ~\PSD\print project 2022.psd [ WD-2 ] G:\--=[ Text\Documents\Notepad++\ [ WD-2 ] G:\--=[ Text\Documents\Notepad++\[ WD-4 ].txt [ WD-2 ] G:\--=[ Text\Documents\Notepad++\[ WD-5 ].txt [ WD-2 ] G:\--=[ Text\Documents\Notepad++\[ WD-6 ].txt [ WD-2 ] G:\--=[ Text\Documents\Word\ [ WD-2 ] G:\--=[ Text\Documents\Word\JKL.docx [ WD-2 ] G:\--=[ Text\Documents\Word\MNO.docx [ WD-2 ] G:\--=[ Text\Documents\Word\PQR.docx [ WD-2 ] G:\--=[ Video\--=[ Hires\Vacation\1920x1080\ [ WD-2 ] G:\--=[ Video\--=[ Hires\Vacation\1920x1080\Göteborg.mp4 [ WD-2 ] G:\--=[ Video\--=[ Lowres\Family\1080x720\ [ WD-2 ] G:\--=[ Video\--=[ Lowres\Family\1080x720\Malmö.mp4 [ WD-3 ] H:\--=[ Photoshop\Projects\2000~ ~\PNG-transparent\ [ WD-3 ] H:\--=[ Photoshop\Projects\2001 ~ ~\PNG-transparent\horses.jpg [ WD-3 ] H:\--=[ Photoshop\Projects\2002 ~ ~\PSD\ [ WD-3 ] H:\--=[ Photoshop\Projects\2003 ~ ~\PSD\children-print files.psd [ WD-3 ] H:\--=[ Photoshop\Projects\2004 ~ ~\PSD\printchildren 2022.psd [ WD-4 ] I:\--=[ Photoshop\Projects\2005 ~ ~\PNG-transparent\ [ WD-4 ] I:\--=[ Photoshop\Projects\2006 ~ ~\PNG-transparent\hooligans.jpg [ WD-4 ] I:\--=[ Photoshop\Projects\2007 ~ ~\PSD\ [ WD-4 ] I:\--=[ Photoshop\Projects\2008 ~ ~\PSD\hooligans-print files.psd [ WD-4 ] I:\--=[ Photoshop\Projects\2009 ~ ~\PSD\print hooligans 2022.psd [ WD-5 ] J:\--=[ Photoshop\Projects\2012 ~ ~\PNG-transparent\ [ WD-5 ] J:\--=[ Photoshop\Projects\2013 ~ ~\PNG-transparent\hope.png [ WD-5 ] J:\--=[ Photoshop\Projects\2014 ~ ~\PSD\ [ WD-5 ] J:\--=[ Photoshop\Projects\2015 ~ ~\PSD\hope.psd [ WD-5 ] J:\--=[ Photoshop\Projects\2016 ~ ~\PSD\hopeproject 2016.psd This time, simply searching for the word Malmö would lead you to the line : [ WD-2 ] G:\--=[ Video\--=[ Lowres\Family\1080x720\Malmö.mp4 where the true drive [ WD-2 ] is clearly reported at beginning of line ! Of course, this is just a first draft ! Changes are certainly to be expected ! See you later Best Regards, guy038
    • EkopalypseE

      DAP client plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      3 Votes
      10 Posts
      449 Views
      EkopalypseE
      @PeterJones Okay, I got it working, but I need to revise the configuration section of NppDebugger. Debugging PythonScript is fundamentally different from debugging “regular” Python programs. Currently, however, NppDebugger selects the debugger based on the language, which no longer works in this case. So I guess I need to introduce a “profile-like” approach, i.e., a language can have multiple debug adapters. If multiple adapters are defined, we could display a small dialog to select the desired adapter. Additionally, the debuggee process is currently terminated when the session ends, which is usually not a problem, but when debugging PythonScript, Npp itself is the debuggee process, and terminating it could leave plugins in an unexpected state, such as in my case, where NppLspClient can no longer perform its cleanup. So I need an additional option to configure the debuggee process so that it is not terminated after the debugging session ends. I hope another version will be available by the end of this week. [image: 1780303579725-nppdebugger_in_action.gif]
    • rednoise0R

      Jump List not being added to

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1 Votes
      9 Posts
      328 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.
    • Sergey SS

      Please add automatic file saving to the directory

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      9
      0 Votes
      9 Posts
      234 Views
      Sergey SS
      @PeterJones said: Notepad++ copies the current contents of the file on disk Yes, function “Backup on save” does exactly that, it’s not suitable. I need to save the current version of an open document. I will use third-party software to save a copy of the file on external flash disk to the specified directory on the PC. Writing plugins for Notepad++ is very interesting, but there is absolutely no time for it. Thank you.
    • balancedcircularB

      Find/replace

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

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      97
      5 Votes
      97 Posts
      12k Views
      CoisesC
      @guy038 said: First, regarding the bug I mentioned in my two previous posts, I also detect it with native N++ and, for example, the Find Results panel : Thank you for that additional information. I had a suspicion this was a Notepad++ behavior not really related to the plugin. I have not been able to reproduce it. It is possible that it is dependent on some detail of your operating system or drivers. Since you can reproduce it without any plugin, I suggest adding it as a Notepad++ issue if you think it is worth further investigation. It could be that others will be able to reproduce it, perhaps including someone who can run Notepad++ under debug and close in on what is going wrong.
    • smcclosrS

      Inability to save file to OneDrive with 8.9.6 version of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      409 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.
    • Robk BlueR

      HTML and CSS language color coding in the same document

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      306 Views
      rdipardoR
      This issue is one of the most consistently duplicated on the forum, for example: “Highlight HTML and CSS” “CSS comments should be in GREEN” “css formatting not working on embed style sheet…” etc. @peterjones’s initial reply is the correct one. You can also refer to this more detailed explanation regarding the current limitations of Lexilla. For now, a relatively simple way to edit HTML documents with embedded style and script highlighting is to use the tree-sitter plugin. Note that only “light” style themes are currently supported, and you will have to manually download and extract the configuration files to get it working. [image: 1779564282293-npptreesitter-v110.png]
    • Abdellah HssA

      New useful plugin (Language Selector)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1
      2 Votes
      4 Posts
      258 Views
      Abdellah HssA
      GitHub repository: https://github.com/hassaine-abdellah/npp-language-selector PS: I commented the code well so the curious developer can understand how it works.
    • Matt LongM

      New to Notepad++ and trying to convert 12 hour time to 24

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      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. :)
    • donhoD

      Notepad++ v8.9.5 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      4
      4 Votes
      4 Posts
      1k Views
      donhoD
      @MarkusBodensee Thank you for your heads up. The fix will come with v8.9.5 release tomorrow.
    • tenchyUKT

      possible to delete almost duplicate lines?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      61 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.
    • EvgenyVenalainenE

      UDL keywords do not work for Cyrillic letters at encoding other than ANSI or UTF

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      3
      0 Votes
      3 Posts
      86 Views
      EvgenyVenalainenE
      @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
    • CJBlake1C

      Cannot open xml files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      205 Views
      PeterJonesP
      @CJBlake1 , Rereading my original response, that came out harsher than I intended. I got interrupted with real life, and had decided to post as-is, before I had a chance to audit my post, so it was too “raw”. What I was really trying to say: I don’t think the specific version of Edge is really relevant to your issue. I am assuming that you used to have XML associated with Notepad++, and then suddenly it wasn’t anymore. Unfortunately, many applications (Edge included) have programmers who think that there software is the only one that matters, and that they should “take back” their favorite filetypes (like XML), regardless of decisions a user has already made. So I’m assuming that some recent update in either Edge itself, or in Windows in general, caused Windows to change (or reset) the default application for the XML filetype. There is nothing that Notepad++ can do to prevent the OS or an overeager application from hijacking the filetype. The best thing you can do in a situation like this is to use the OS tools to re-associate the filetype with the program you want. In Windows 11, the most reliable method for doing that seems to be using the Open With from the right-click menu: right click on an XML file, choose Open With, select Notepad++, and be sure to say, “always use this app from now on”.
    • Dev NullD

      Force single Reload from command-line?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      233 Views
      Dev NullD
      @PeterJones Thanks!