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
      5k 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
      1k 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]
    • 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 · · · – – – · · ·
      16
      5
      0 Votes
      16 Posts
      451 Views
      guy038G
      Hello, @pellelin, @mpheath, and All, Oh…, @pellelin, in my previous post, I forgot to mention confidentiality and sensitive information. Of course, I completely understand why you don’t want to send me your summary file! However, if you could send me an example — even a shorter one, with any personal information removed — I’m sure I could find a suitable replacement, using regular expressions ! I only need the text’s formatting / text’s frame, not the words themselves . BR guy038
    • EkopalypseE

      DAP client plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      15
      3 Votes
      15 Posts
      580 Views
      Lycan ThropeL
      @Ekopalypse said: Unfortunately, I don’t know anything about dBase, but if it’s an OLE server, you could definitely control it using the PythonScript plugin—or, if I recall correctly, there was/is also an ActiveX plugin—provided those methods are available. It uses ActiveX objects, but I don’t believe it’s usable by them, hence as far as I know, OLE is the only way, unless I find out otherwise. Will check. Is there a free version of the DBase version you’re using? They have a Trial Version, as far as I know, but the website provider was shut down for awhile under one of those recent supply chain attacks that affected cPanel. I think it’s back up now, though, so you can check it at dBASE.com. In the meantime, I need to find that person causing all these IRL chores and have a talk with them…unfortunately, I suspect if I do start having a conversation with ‘him’, people will view me crazier than they already do. :-) Not me :) And if you find him, give him a good smack from me too :D What the heck, I already have to beat my self up, may as well do it for you, too. :-)
    • donhoD

      Notepad++ release 8.9.5

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      15
      1 Votes
      15 Posts
      5k 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
      908 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.
    • S

      Find & Replace & Mark re-organization proposal

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      11
      8
      0 Votes
      11 Posts
      78 Views
      CoisesC
      @PeterJones said: That might be in just the context of a separate thread for each file searched during multi-file searches… but I believe that other ‘background threading’ of searching has also been rejected, though I cannot immediately find an example. From what I’ve seen, all search in Notepad++ runs through the Scintilla search interface. That by itself makes it impossible to separate search from the GUI thread without re-engineering how search works. I did, somewhat, re-engineer search for Search++ and for Search in Columns++; for regular expressions, I use the raw data pointer from Scintilla and search it directly with Boost::regex. It might be possible to multi-thread Find in Open Documents that way, but probably not Replace (unless every document were duplicated in memory in the GUI thread, processed in a worker thread, then the whole document replaced in the GUI thread). One of the big hurdles I still have in Search++ is how I’m going to do Find in Files. I do not want to open each file in an off-screen Scintilla control (which I’m pretty sure is what Notepad++ does). The searching sounds simple until you consider code pages and how to locate the match in a Scintilla window if the user asks to see it by clicking in the search results. If I can design that (I just haven’t had the mental space to take on the challenge recently), doing it multi-threaded sounds like it should be possible. Another frustrating thing is that Boost::regex doesn’t have any sort of progress callback while it is searching. It’s easy enough to do periodic callbacks after finding one instance and before finding the next (each is a separate call to Boost::regex); but often the big delays happen while searching large spans of text where nothing is found. I hope, someday, to take on the challenge of modifying Boost::regex to do a callback instead of the dreaded “too complex” message. That will be a ways down the road. But any of this is way too much change, and way too likely to cause new bugs, for me to even think of suggesting it as a change to the base program. If anything, I think it would have to be a “parallel” feature, rather than a replacement, which would have to prove itself viable over time… which is, I’d say, appropriate for a plugin. @shodanx2, if you’re able to code a plugin to show your concept in action so people can try it and actually demonstrate its value and reliability in real world use, that would be the way to go. If you’re throwing all this massive re-design out and thinking “somebody else” will implement it, it’s not likely; consider smaller suggestions that can be integrated without disrupting the interface with which people are familiar or the battle-tested processing of the existing program.
    • rednoise0R

      Jump List not being added to

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1 Votes
      9 Posts
      382 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
      274 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
      499 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
      13k 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.
    • tenchyUKT

      possible to delete almost duplicate lines?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      122 Views
      tenchyUKT
      @PeterJones Thanks again. I think I’d need to do that myself to learn it fully, bit like you can’t learn to drive from a book… I wish I’d asked about this years ago! I periodically create these files which may start with 2 or 3000 lines and end up with around 1500 lines after exact dupes are removed. I then compare with CTRL ALT C with the compare plugin to the master file which is about 16K lines. I then manually add completely new lines if found to the master file. And any that have the 2 letter in the new file that aren’t in the master file, I add though two letters in to the master. Having these lines in the new file: G7ODA,IO93WS, G7ODA,IO93WS,PE, Does tend to confuse the compare plugin so this will make life easier for me! thanks again
    • 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
      484 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
      314 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
      277 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
      520 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.
    • Em776102E

      What if I made Notepad++ available for mobile?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development notepad starter android
      3
      0 Votes
      3 Posts
      88 Views
      Pull_it_allP
      @Em776102 not sure what your use is, for example in termux on android you can use nano. For most quick edits it’s enough I guess… Need something more advanced, use: Acode - code editor | OSS Surely it’s not our beloved notepad++, but quick search may reveal even more alternatives.
    • donhoD

      Having a Ferrari is cool, but without driving skill it's just a expensive chair

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      1
      6 Votes
      3 Posts
      152 Views
      Lycan ThropeL
      @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]