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

      Find & Replace & Mark re-organization proposal

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      20
      8
      0 Votes
      20 Posts
      2k Views
      S
      @PeterJones I have been having a crack at it. https://youtu.be/UaXvg9w0_O8 [image: 1781246396141-1349f7c1-791f-4298-b47d-df25824aaf10-image.jpeg] I think I can put … everything in it. If I don’t burn out. Absolutely everything, including what you call the “ridiculous proposal”. (Which mostly just adds a preset system for common searches) I have taken care not to use any API after GDI+. And it’s only alpha borders on icons that keep this from being simple win32 GDI.
    • DougK.AZD

      Ctrl-J (join lines) replaces LF with space

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      331 Views
      guy038G
      Hi, @dougk.az, @peterjones and All, Oh, yes, Peter, you’re perfectly right ! But I must be a little tired from this heat wave. Since June 22, in the room where my desk is, even with a fan, the temperature has usually been between 29 °C and 30.5 °C. It’s awful ! BR guy038 Oh ! Now, I also realized that @dougk.az never spoke about the form feed ( FF ) characters, of code \x0C but spoke about the line feed ( LF ) chars, of code \x0A As I said above : really tired by heat !!!
    • Thorin SchmidtT

      Confusing/Frustrating folding behavior

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      918 Views
      Thorin SchmidtT
      @mpheath Thanks for this suggestion. It seems to be the simplest solution. A bit of an overkill since it would only be needed for my Python stuff, yet I like keyboard shortcuts, growing up on DOS and all. Thank You! I really appreciate the help. :)
    • Zack MosbruckerZ

      Important files lost during recent update

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1 Votes
      8 Posts
      913 Views
      PeterJonesP
      @Konsolate said: Everything is lost. Also, while we confirmed with @zack-mosbrucker that the backup folder was empty, you never confirmed that. Are you sure that folder was empty, or did your session file just get reset? (If you don’t know where yours is, it’s probably in %AppData%\Notepad++\backup\ – if it’s not there, share your ? > Debug Info and we can help you find it.) Notepad++ backs up the session file into session.xml.inCaseOfCorruption.bak, so if you still have files in the backup\ folder, then you can recover the old session if you exit Notpead++, rename session.xml.inCaseOfCorruption.bak to session.xml, and restart Notepad++, and it will go back to the previous version of the session file. And if it still doesn’t open all the files from your backup folder, you can just manually open those files from Notepad++, and then save them to a reasonable known location on your computer, so that you won’t lose them again in the future.
    • donhoD

      Notepad++ release 8.9.6.4

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      10
      3 Votes
      10 Posts
      6k Views
      X
      @MarkusBodensee Yes, I also found that 2nd problem. Thanks for handling the fix, I’ll try to review.
    • shouldersS

      Where should I add license and copyrght information?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      1 Votes
      8 Posts
      773 Views
      shouldersS
      I randomly found this new meta SPDX-License-Identifier: where you can add one line. // Copyright (c) 2026 Jane Smith // SPDX-License-Identifier: MIT https://spdx.org/licenses/ https://spdx.dev/learn/handling-license-info/ https://github.com/david-a-wheeler/spdx-tutorial Thought I might mention this as I have never heard of this standard. I assume it is still legal but, IANAL.
    • Claudia SvensonC

      How to auto-convert text (Umlaute) when changing file encoding from ANSI to UTF-8 BOM?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      276 Views
      CoisesC
      @Claudia-Svenson said: @Coises You want a sample. Ok here it is. Download the following simplified text file with UTF-8 BOM encoding I zipped it to prevent conversion by webserver. https://mega.nz/file/RMQlzCTD#LhDRpJSoWAL4Vi6EP8-XlUyDeHpfp1-_aRFLlCMzICk The first two lines contain english sentence with german Umlaute The last two lines russian/cyrillic text If I switch encoding to ANSI I can see the Umlaute but the russian text is scrambled. How can I convert only a part (e.g.first two lines from ANSI to UTF-8 BOM)? Select the lines or characters that are incorrectly encoded (ANSI characters in a UTF-8-BOM file). Switch to ANSI. (Encoding|ANSI). Copy the highlighted characters (which should now appear correctly) to the clipboard. Switch to UTF-8-BOM. (Encoding|UTF-8-BOM). Paste. You can now save the corrected file as UTF-8-BOM. With your example file, the highlighted section persists perfectly when changing encoding. I wouldn’t trust that to be the case always: watch what is happening to be sure the right section is highlighted both when copying and when pasting. (Earlier in this thread I said you usually shouldn’t use the top section of the Encoding menu except in the two particular cases that I listed. This is one the rare other cases where you need to use the top section.)
    • AGoh2019A

      Print Quality TERRIBLE & Non very useful

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      786 Views
      K
      @vvPeterJones I switched Settings>Preferences>Print from “No background color” to “Black on white” and the print is much better.
    • Sylvester BullittS

      Can't Open URL in HTML Link

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion file open issue html
      5
      0 Votes
      5 Posts
      552 Views
      PeterJonesP
      @Sylvester-Bullitt said: Any idea when the next release will be out My guess: sometime in the next few weeks to a month or so – most of the time, that’s the cadence of the release schedule. But it all depends on when the developer thinks enough things have been added/fixed to warrant a new release. If it annoys you a lot, you can manually download and run the installer for an older version, and use that version which behaves as you want while wait to upgrade again until after you see the next version announced
    • gcyrillusG

      nppGitClone (14-16ko)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      544 Views
      gcyrillusG
      @Michael-Vincent Thanks for the feedback ;) fixed with : https://github.com/gcyrillus/nppGitClone/releases/tag/V1.0.1
    • gcyrillusG

      [new plugin] AssistantIA alpha 0.0.0.1 looking for feedback

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      572 Views
      gcyrillusG
      @Michael-Vincent and anyone reading :) Besides the jokes, i’d like some real feedback about the plugin, the code and mainly about the fact that gemini assisted me … Be critical without trolling, do not be afraid to point out all of the funny code, nonsense and incoherence that a light IA can bring within your code unless there is some goods in it . Good jokes are also welcome ;)
    • medvidecM

      Npp Plugin - failing when "string" type is used

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      535 Views
      rdipardoR
      @medvidec It’s impossible to know for sure without seeing your code, but I doubt the issue has anything to do with Notepad++. If this “global variable” is supposed to be shared between multiple C++ source files, you have to do the following: declare the variable in a header file as extern, e.g.: // your_header.h #include <string> extern const std::string configFile; include “your_header.h” in every source file that uses configFile . provide a definition (at global scope) of configFile in one (and only one) of the source files that includes “your_header.h”: // source_file.cpp #include "your_header.h" // ... const std::string configFile = "/plugins/config/verilogConfig.txt"; // ... You can read about storage class specifiers to learn more.
    • Václav HanzlikV

      On selection - open file does not working

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      1 Votes
      5 Posts
      725 Views
      Václav HanzlikV
      @PeterJones Thank you very much.
    • M

      Drag and dropping lines between split view documents?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      447 Views
      M
      @PeterJones said: So, sorry, I don’t know of a way to do that. But I am now curious if someone else knows of a way, or if one of the codebase experts knows why it might not be possible (or whether it’s a feasible feature request or not). (I’d apologize for providing a ‘non-answer’ as my answer, when you haven’t gotten a ‘real answer’ first… but I wanted to caution future respondants to not jump to the same conclusion I did at first without actually giving it a try for themselves.) No worries I like to see how people tackle problems. And with a software as vast as N++ where I know only a small percentage of all the functions, even a non answer shows me something new most of the times. Coises answer does the trick. In an ideal world I’d like a way to switch the behaviour so Alt+drag copies, but for all intents and purposes the solution works for me.
    • decrepit-old-geekoidD

      Can't make a keyboard macro for a shortcut in Notepad++ v6.9.2

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      454 Views
      guy038G
      Hello, @decrepit-old-geekoid, @peterjones and All, It just so happens that I still have the docMonitor.2.2.zip archive on my old Win XP computer. So, on the last XP version of N++ ( v7.9.2 ), within a plugin directory named docMonitor, I installed the docMonitor.unicode.dll that I renamed docMonitor.dll Notepad++ opened normally and the plugin was here with the single option Plugins > Document Monitor > Start to monitor. Before activating this plugin, I ran, in a CMD command prompt window, the command : notepad++ -nosession Test.txt Then, the DOS command : echo ABCDE >> test.txt I verified that I got, within N++, the usual dialog : This file has been modified by an other program. Do you want to reload it? Clicking on the Yes button, it added, as expected, the line ABCDE to the empty Test.txt file => OK As soon as I choosed the option Plugins > Document Monitor > Start to monitor, any subsequent echo command uodated silently the Test.txt file, as well => OK Then I ran the option Plugins > Document Monitor > Stop monitoring. I thought that it would again show the dialog to reload the file, but subsequent echo commands still updated silently the file !? I said to myself : May be it’s worth to stop/start the computer again. However, the problem remained identical, afterwards ?? Then, I desintalled the DocMonitor plugin completely, including the docMonitor.ini file under config and restarted my Win XP computer. But, again, any echo command still updated the Test.txt file silently !!?? At that point, I didn’t understand at all ! Thus, I decided to pull out the stops and reinstall a clean version of a portable N++ v.7.9.2 in a separate directory ! By default, this new version correctly showed the dialog This file has been modified by an other program. after a command : echo bla bla blah >> test.txt Then, I had the idea to compare all the N++ preferences between my normal intallation and this new version and…, surprise : there were some differences in the MISC. preferences : The file status Auto-detection section shows the Enable for all opened files option and the Update silently and Scroll to the last line after update options were checked, in my normal intallation The file status Auto-detection section shows the Enable option and the Update silently and Scroll to the last line after update versions were unchecked, in the new N++ version So, in the new version, I re-installed the Doc Monitor plugin and even after running the Plugins > Document Monitor > Start to monitor option, the MISC. preferences for file status were still the default ones ! Howewer, if you close and re-start N++ immediately, you see, this time, the Enable for all opened files option and the two box options checked, in the MISC. preferences ! So, apparently, at least , with this 2.2.0.0 version, Don simply activates, with his plugin, these specific N++ options which updates silently any opened file ! Best Regards, guy038
    • H

      How do I reset back to the default Dark Mode style settings?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      107 Views
      Lycan ThropeL
      @Howard-Brown @peterjones has given you the necessary information to get back the default DarkMode settings, so you should learn from this issue and do what I did, and make your own DarkMode settings by copying that file, and giving it a different name. I called mine MyDarkModeDefault to avoid the confusion, and played with it to my hearts content. Doing this trick, even with your new default version, you can make another copy and continue to fine tune what you need to, without damaging the default, or your own new default versions. Call it MyExperimentalDarkMode, and have fun without worrying. As @peterjones and many of us around here always say, “back up what you don’t want to lose or recreate” - though that is paraphrasing. :-)
    • Jon FlemingJ

      NPPexec Tidy won't open html file.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      119 Views
      Jon FlemingJ
      Thanks, your script works perfectly.
    • L

      Unicode 'ÿ' , problem converting to Hex 'FF'

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      39
      1
      1 Votes
      39 Posts
      13k Views
      Lance MarchettiL
      @PeterJones Great. Thanks
    • Darren HoylandD

      Fanuc macro B

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      354 Views
      PeterJonesP
      A GitHub user Poualedesmon just uploaded FANUC_KAREL_UDL to the collection. I don’t know if that was @darren-hoyland or someone else, but it’s now publicly available for download from the Collection, per the same instructions in the README as linked earlier.
    • Jairo FlorezJ

      v8.7 Search Results Missing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      7k Views
      henriknorenH
      @xomx thanks a bunch