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

      Bug when a multi-lines regex is used in the 'Search', 'Replace' or 'Mark' dialog

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      2 Votes
      11 Posts
      225 Views
      Alan KilbornA

      30000 vs. 32767

      I’ve no idea where 30000 originates. A quick search of the Notepad++ source code won’t find it literally. So… apologies to @mkupper about the “sloppily” thing; I did think you were speaking in “ballpark” terms.

    • PeterJonesP

      Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2

      Watching Ignoring Scheduled Pinned until 6/30/25, 3:12 PM Locked Moved Notepad++ & Plugin Development
      8
      3 Votes
      8 Posts
      159 Views
      rdipardoR

      @PeterJones said in Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2:

      Correct me if I’m wrong, but the “canonical C++ example” would be able to use TinyXML2 even if N++ itself is still using TinyXML, since the two are independent codebases. Right?

      Not much difference between them, except that version 2 is Unicode-aware. In fact HTML Tag is built with TinyXML2 in order to provide menu localization for pre-8.7 Notepad++ versions. It was even compatible with Windows XP, before I had to drop support for it in the 1.5.2 release.

    • Moutaz BakierM

      Notepad++ whitespace autocomplete define

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      21
      0 Votes
      21 Posts
      992 Views
      PeterJonesP

      @rinzwind5 said in Notepad++ whitespace autocomplete define:

      bgColor is hard-coded in each UDL and cannot be set to ‘inherit/default’ (as in use the NPP theme setting’s background).

      Nitpick: you said "Cannot be set … "; but the reality is that it would be better to say “can be set in exactly the same way as you do in the NPP theme setting’s background” – ie, by right clicking the color or toggling the checkbox for Transparent

      Here’s a screenshot of a UDL defined with keywords one two three in red-on-transparent (and that UDL’s “Default” styler set to black-on-transparent – not shown in screenshot), when originally set up in Default (stylers.xml):
      ef38e661-4a15-4182-94c0-b4ef82b6cddc-image.png

      And here, all I did was change the theme to Solarized - Light: the background changes with no change to the UDL:
      fe093247-e6bf-41d0-8ac6-2a345d36eaff-image.png

    • I

      .json format not recognized on load, not present in Style Configurator's Languages list

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1 Votes
      8 Posts
      157 Views
      I

      “default style” is working fine for my purposes.

      I will propagate these configuration changes to any other old installations I may have.

      Thanks to all for the very effective help!

      -Phil

    • Hank KH

      This is in regards to using "Find in Files" tab.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      114 Views
      Hank KH

      @PeterJones

      An it was right above auto-detect encoding … lol

      Thx again

    • Brent RiggsB

      Notepad++ open in new instance because I use multiple desktops

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      8k Views
      mkupperM

      @notdodgeball said in Notepad++ open in new instance because I use multiple desktops:

      This disregard of openSession I never fully understood, as to me it should behave much like you just described.

      I regularly use, or perhaps abuse, -openSession. A whie back I created a batch file, nplist.bat, that extracts file paths from a text file and generates a session.xml file. It then runs Notepad++.exe with -openSession. While I could have just run Notepad++.exe and passed the file names directly to it. I created nplist.bat because I wanted something that allowed me to open thousands of files at once. I did not think thousands of files would fit on the command line and was not comfortable with starting Notepad++.exe thousands of times and having those pass the file name on to the running copy of Notepad++.exe.

      Notepad++ must already have some sort of inter-process communication (IPC) that allows a newly loaded copy of Notepad++.exe to tell the main running instance of Notepad+exe to come to the foreground and to open one or more files.

      That means I should be able to create an run-npp.exe that implements the -instance logic I proposed earlier. The easiest way to define and separate instances of Notepad++ would be to use portable copies. I’d put them in

      c:\npp\apple\Notepad++.exe c:\npp\banana\Notepad++.exe c:\npp\strawberry\Notepad++.exe

      This allows each instance of Notepad++ to live in its own world. This assumes that whatever IPC Notepad++ uses is something that allows for multiple copies of the .exe to run at the same time and for an external app to talk to them. If, for example, Notepad++ is using a named pipe with a fixed name then only one copy can own the pipe.

      What want is the ability to tell an already running instance of Notepad++.exe to open a file. For example, I want to open fruit.txt in Notepad++ and want to use the banana instance of Notepad++.exe to view or work with this file.

    • VTGroupGitHubV

      One toolbar button won't stay at new location

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      42 Views
      VTGroupGitHubV

      No it’s not. The problem is back. Something made it work for one restart, then it broke again. I’m still looking for a fix/workaround.

    • deleeleeD

      Insert sequential numbers at start of lines

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      31
      0 Votes
      31 Posts
      7k Views
      Alan KilbornA

      @deleelee

      the script I quoted which was TextFxInsertLineNumbers2.py

      Hmm, you’re right, I guess I ignored the script you quoted, and just looked in this thread for the first script presented. Sorry.

      Anyway, that script has a similar line:

      editor.replaceLine(line_nbr, '{n:08} {c}'.format(n=running_line_nbr, c=line_content))

      and I’d think it wouldn’t be that hard to adapt that line from what I gave before, into:

      editor.replaceLine(line_nbr, '{n}) {c}'.format(n=chr(96+running_line_nbr), c=line_content))

    • S

      Graphical Issue with Undocked Search Result Window.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      109 Views
      S

      @xomx @PeterJones
      Thank you for your assistance. I am currently using 2 monitors, both are the same model, I believe capable of 2560x1440. My second monitor is set in portrait mode. On the 2nd monitor most of the after image/moving seems to remain on screen when the after image moves higher than the first screen. (I am assuming about 1440 pixels from the bottom of the screen)

      Prior to updating to 24h2, I had an update of 23h2 about a week ago, and did not notice any unusual behavior with the undocked search results. I honestly don’t remember if before the 24h2 update, if when I attempted to drag the undocked search results if the window moved or if I just had an outline that would show me when the window would be.

      For clarification, the Search Result window is not missing. And prior to messaging here, I had deleted my config files. As well as removing and installing the latest version of Notepad++.

      Please let me know if any more information would be of assistance.

    • Richárd StockingerR

      [New Plugin] NppOpenAI

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      45
      8 Votes
      45 Posts
      29k Views
      Richárd StockingerR

      Hi everyone,

      @andrea-tomassi’s PR was really helpful, and it was accepted of course, moreover this gave the project a great shake-up! Of course, the update has also been added to the nppPluginList repository and was recently accepted.

      If someone doesn’t want to wait, manual installation is available as usual with the v0.5 release (unzip the appropriate ZIP file to the plugins/NppOpenAI folder):
      https://github.com/Krazal/nppopenai/releases/tag/v0.5.0

      The last few months have been very stressful for me (there was a nationwide update in the Hungarian .HU domain name registry, which also affected our developments too), but now things are starting to calm down and I hope to have more time for the plugin. ✨

      Once again, thank you to those of you who are trying out the plugin, and I am very grateful for all the contributions!

    • Christian HoffmannC

      Opened files fully expanded

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      83 Views
      mpheathM

      @Christian-Hoffmann

      Tested v8.8.1 being quite a new and clean portable and reopens new 1 folded

      Set as Python language folded at if on line 1. Programmatically regarded as line 0.

      new 1:

      if a: b

      session.xml:

      <?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="0"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="39" ... snipped ...> <Fold line="0" /> </File> </mainView> <subView activeIndex="0" /> </Session> </NotepadPlus>

      See the xml tag Fold. Folding is saved and restored.

      More details might be needed to solve your issue, like version being used … as ? -> Debug info... shows.

    • edosyd cappelliE

      how to re-set the previous view

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      63 Views
      edosyd cappelliE

      @Alan-Kilborn
      thankyou for the advice

    • guy038G

      The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      63 Views
      Alan KilbornA

      It sort of makes sense… shortcuts.xml is really just a bunch of overrides… so it isn’t really necessary to be there.

      For keycombos, all of the defaults are still there, even without a shortcuts.xml file.

      so I think this is expected/designed behavior

      Or probably, “just never considered” behavior. :-)

    • Chuck HerrickC

      Format my JSON

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      4k Views
      PeterJonesP

      @Estevao-Jordao ,

      Did you really need to come 4 years later to give a URL to a random website when the problem is solved with Notepad++ and the JSToolNpp plugin mentioned then (or the JsonTools plugin which also exists now).

      (your link was de-linkified, to avoid this forum becoming a honeypot for posting URLs to random sites unrelated to Notepad++)

    • glandonG

      AndroidLogger.v1.4.3.1 added super features welcome your tests!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      6
      0 Votes
      6 Posts
      241 Views
      Alan KilbornA

      @glandon said:

      i try to get users clear

      This six-word thing is by far the most important thing you could do.

    • guy038G

      Bug with the "CRLF" end of line

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      13
      3 Votes
      13 Posts
      242 Views
      xomxX

      So it really was a Scintilla v5.5.6 bug, fix for its next version:
      https://sourceforge.net/p/scintilla/code/ci/0364bca4f6d3cb1e1aaffa3baae6a0dfe4b026f2/

    • donhoD

      Notepad++ v8.8.1 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      6
      2 Votes
      6 Posts
      4k Views
      MarkusBodenseeM

      Ref to Npp website spelling error

    • DenineD

      The validity period of EV code sign has expired

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      62 Views
      PeterJonesP

      @Denine ,

      The owner is working on it, but, per here, it’s not as simple as one might hope.

    • donhoD

      Truth is hidden within obscenity

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      2 Votes
      3 Posts
      227 Views
      peter-fbP

      Here are some more (also NSFW) versions of this website:

      http://bettermotherfuckingwebsite.com/

      https://securemotherfuckingwebsite.com/

      https://perfectmotherfuckingwebsite.com/

      https://thebestmotherfucking.website/

    • J

      Coloring log files

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      5k Views
      PeterJonesP

      @PeterJones said in Coloring log files:

      It looks to me like you want Notepad++ to display your logfile which uses ANSI ESCAPE SEQUENCES in the colors that those ANSI escape sequences define.

      v8.1.1 includes the ErrorList higlighting for .log and .err, which allows ANSI escape sequences higlighting, including recognizing and using the ANSI foreground color escape sequences for choosing the foreground color.