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++ v8.8.7 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      19
      5 Votes
      19 Posts
      464 Views
      Snabel42S

      @donho can confirm that for me with this RC there is no download warning or SmartScreen triggered

    • Ragnar LodbrokR

      I need a function/plugin to extract only unnecessary text from lines

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      15
      0 Votes
      15 Posts
      390 Views
      mpheathM

      @PeterJones said in I need a function/plugin to extract only unnecessary text from lines:

      @Ragnar-Lodbrok ,
      I think the answer is “there is no way to do it in one meaningful regular expression, because your data is not consistent enough”

      The data is not consistent as it appears to be harvested data:

      https://github.com/RagnarLodbrok1981/proxy-scraper-checker
      forked from
      https://github.com/monosans/proxy-scraper-checker

      That may explain the pipe characters in the log like as shown in the repository’s readme image. This appears to be dishonest obtained data.

    • Tom SassonT

      Cannot change Encoding to correct encoding of UTF-8

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      1k Views
      CoisesC

      Reported as Issue #17033.

    • Mark BoonieM

      Wrong font used

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      16
      1 Votes
      16 Posts
      4k Views
      PeterJonesP

      It appears that in my collection of fonts, Text is a variant like Thin, Medm, Bold, etc., because it works as expected with the rendering mode set to GDI instead of DirectWrite.

      I don’t know if the font collection was repackaged on Google and Text was corrected,

      Like I said, Google fonts doesn’t have the Text variant: I had to get that from fontsquirrel

      perhaps it’s still mispackaged internally to IBM, so that it fails for me.

      I doubt that’s it.

      Thanks for your time, it’s greatly appreciated. (Not that it matters any more, but I’m on Windows 11 and my debug info follows.)

      Well, there goes my Win11 theory. :-(

      Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)

      … so this was taken when you were still in DirectWrite.

      Display Info:
      primary monitor: 3840x2400, scaling 300%

      Ooh, that’s interesting. Maybe it’s a high-DPI issue. (Notepad++ still has some pretty weird bugs when you have a high-DPI monitor. Something specific to the Text version of the font might trigger one of those.)

      But, anyway, if GDI works for you, that’s great. (Just be warned that in GDI mode, if you try to use an emoji or other glyph that’s not in your font, Windows might not be able to display the character from another font, like it can when you are in DirectWrite mode.)

    • Kim S. AndreasenK

      N++ opens ANSI file incorrectly in Win11 - why?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      2 Votes
      12 Posts
      414 Views
      Kim S. AndreasenK

      @Coises
      Thanks, but I am pretty sure that I have tried that without success,
      Perhaps the reason it didn’t work is that I probably had the ‘Use Unicode UTF-8 for worldwide language support’ checked, which according to @Peter Jones would invalidate the solution.

      Thanks a lot to both of you for valuable and knowledgeable support!

    • Clyde DarbyC

      View...How do I add browsers, so that I may run a program from different browsers.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      31
      0 Votes
      31 Posts
      5k Views
      James Burke 0J

      @PeterJones Good idea. Regardless, NPP is much nicer to use after your “how-to-fix-it” script, and I’m thankful that you could provide a way to fix it.

    • Kendall DeMottK

      Session Fails ? ? ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      0 Votes
      12 Posts
      717 Views
      PeterJonesP

      @Kendall-DeMott said in Session Fails ? ? ?:

      @Terry-R
      Terry TY for your help and suggestions.

      I don’t know anything about Notepad++'s own backup system,

      Then read the FAQ, as @Terry-R suggested. Understanding is always better than not understanding.

      PS, when I looked in Notepad++'s backup folder, all there is is just file that load a single tab from mods that I edited, but none of the file were the (5) that I use all the time,

      That “backup” folder is where Notepad++ keeps the unsaved changes for any files that have unsaved changes. As soon as you save a file, it will delete the backup, because the periodic backup copies are only intended for tracking unsaved changes; once you save a file, it has no unsaved changes, so there is nothing to track. Similarly, if you close a new 1-style never-saved tab, Notepad++ will prompt you to make sure you aren’t about to lose all your changes with never saving it; but it trusts you: once you tell it you don’t want the file, it will accept your decision, and close that file and remove the periodic backup because the periodic backup is only for files that are actively open in Notepad++.

      funny how it backed up all these single files, but not one of them is one of the five tabs that I would open on almost a daily basis.

      It backs up exactly the ones that are currently being edited in Notepad++, no more and no less.

      I was keeping (backing up) the session file from Notepad++ install Dir, this has never failed in the past.

      That very much surprises me, since in a normal installation where your settings files (and backup directory) are in AppData (which yours is, as shown by your Debug Info), then the active session.xml file is the one in AppData, not the one in c:\program files\Notepad++\session.xml

      This is the session file, you can clearly see the (5) lines are there, they just not longer load from this file when the default session file from Notepad++'s install Dir is overwritten by my BU file copied from the install Dir:

      You seem to be saying different things about the session.xml file. When you try to “restore” you session file from the backup, where do you copy it from? Where do you paste the file to? What order do you do things? Because some of your phrasing implies you are backing up your session file into the installation directory, and other of your phrasing implies you are using the one in the installation directory as the backup. And I’m confused what you’re actually doing.

      Assuming you have some directory that I will call c:\backup\ which contains c:\backup\session.xml that looks like what you pasted in your reply, then the steps to get back that session would be:

      Exit all copies of Notepad++ Copy c:\backup\session.xml to %AppData%\Notepad++\session.xml Open Notepad++ Assuming those files still exist on the I: drive and the drive is accessible, those files will open at this time

      However, any usaved changes that didn’t get saved to the files before will obviously not be there, because whatever went wrong earlier that caused your session to get messed up caused Notepad++ to think it was safe to delete the snapshot from the backup\ folder, so your unsaved changes for those files no longer exist. Going forward, you need to keep in mind that Notepad++'s backup folder is really misnamed and should be called a “snapshot” folder – it’s where a “snapshot” of the unsaved changes are stored, but it’s highly temporary, and should never be relied up for long term backup.

      My recommendation, and the recommendation of most of the regulars here, is that you take an active role in backing up your data, and don’t rely on backup settings that you don’t understand. This is the advice I have incorporated in to the FAQ.

      If a file or data is critical: 1) save to a known location, often; 2) have an established backup system that is independent of Notepad++; 3) when appropriate, use revision control software like svn or git, so you can better track changes over time. Doing anything less than that says that you don’t actually think the data is critical.

    • D

      Notepad++ DLL Hijacking Vulnerability (CVE-2025-56383)

      Watching Ignoring Scheduled Pinned Locked Moved Security
      10
      0 Votes
      10 Posts
      1k Views
      donhoD

      https://notepad-plus-plus.org/news/v886-released/

    • Dan EastwoodD

      Setting a UDL as default for extension

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      0 Votes
      9 Posts
      316 Views
      Dan EastwoodD

      @PeterJones

      That seems to have done the trick!

      Thank you so much for all your help today.
      alt text

    • tino tesuT

      v8.8.6 - the function list is not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      207 Views
      PeterJonesP

      @tino-tesu said in v8.8.6 - the function list is not working:

      That was a easy fix. I could add a new line after.

      Great.

      Notepad++ has a long-standing bug wherein if you have a FunctionList parser that includes a class, every class must have one or more whitespace after the last “closing” tag. Usually, it shows up with C/C++ classes, which end with } … but the bug also occurs for other classes in functionLists.

      The reason why v8.8.5 worked without the newline is because the v8.8.5 FunctionList parser for SQL didn’t try to do classes, so didn’t trigger that bug.

    • D

      Find start of line up to specific character, and copy this to end of line.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · replace
      8
      1 Votes
      8 Posts
      228 Views
      D

      @gerdb42 Thanks. A little tricky, but will be useful once I’ve worked on a couple of simple ‘test’ examples. It’s not exactly like the Npp version, apparently, but will serve as ‘fairy bike wheels’ until I master this stuff a little more. :-)

    • EkopalypseE

      Weird crash

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      2 Votes
      7 Posts
      125 Views
      N

      @Ekopalypse

      I recompiled with your code modification and I can’t crash Notepad++ anymore ! :)

      So I can confirm your modification fixes the issue on my side. Thank you !

    • Julian RedGJ

      After changing to admin mode on windows, a black line appears over selected line

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      320 Views
      Julian RedGJ

      @Mark-Olson I updated all the plugins because, as you suggested, they were too outdated
      thanks a lot

    • donhoD

      Notepad++ v8.8.6 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      6
      4 Votes
      6 Posts
      3k Views
      donhoD

      @xomx

      is it there a Notepad++ Inc. or LLC now?

      LOL.
      I have been struggling with administrative hurdles & certificate companies over the past few months to make it happen. In short: I had to register Notepad++ association (which has existed since 2019 to obtain a DigiCert certificate) with INSEE, a French government agency, Then I had to change the association old postal address to the new one so the certificate company could verify the authenticity of association via mail.

      As a result, it’s possible to obtain a certificate under the open-source project’s name - on the condition that a NGO with the same name is created, and registered in the country where the project maintainer resides. This way, the project is recognized as a business entity by the certificate company, allowing them to issue a certificate to the entity. Nonetheless, Notepad++ still retains its community-driven, non-profit status.

      There’s another path that avoids this painful process. Over the past few months, I recieved an offer from Azure Trusted Signing to have “Notepad++” named certificate signed via GitHub actions.

      If it works, it would be great for nppPluginList to be released independently - so it can follow its own release circle, separate from Notepad++'s. Notepad++ could then update nppPluginList via WinGUp.
      However, there is an unsolved login issue, and I’m still waiting for their team to fix it.

    • Joep KregtingJ

      All lines in a file have collapsed into one line.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      1 Votes
      6 Posts
      481 Views
      Mark OlsonM

      JsonTools maintainer here.

      The sort_keys setting in JsonTools should be set to True when pretty-printing JSON for comparison.

      This is because the order of keys in a JSON object doesn’t matter: {"foo": 1, "bar": 2} and {"bar": 2, "foo": 1} are the same, but a general-purpose diff tool like ComparePlus doesn’t know that.

    • G

      "New UI" for NPP here

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      -2 Votes
      5 Posts
      297 Views
      G

      @PeterJones

      If you have compare plugin installed you can use it, compare english.xml with english_customizable.xml I provided and you’ll see all differences. Anyway below is explanation of couple of them (ones that you didn’t mention).

      Ps. you probably know this but you can make context menu and tab context menu work in both localizations by referring to items by their IDs instead of their names. IDs can be found with NPPUISpy plugin or by reading english.xml localization file.

      renamed “Window” menu as Tabs as to my observations items inside are tabs, not windows.

      “containing folder”. I have not heard this term used anywhere else than NPP. Most common name for showing file folder in explorer is “Show In Explorer”, sometimes also “Open in Explorer”. IMO in this context “current folder” is more intuitive.

      “close multiple documents” --> “close multiple tabs”. How often people use NPP to edit “documents” ? For me I edit mainly script or programming source code, txt, ini, xml files, etc… Document gives completely wrong impression (in my opinion) so tab is a better term.

      “edit - insert”–>“edit - insert date, time”. If you use the program seldom you will not remember what sort of insert options there are inside so better to have more descriptive menu item name.

      “Convert case to”–>“Case”, “Line Operations”–>“Line”, “EOL Conversion”–>“EOL”, unneeded words cluttering UI

      “Auto-Completion”–>“Auto-Complete”, latter is de-facto term used for this feature

      “View - View current file in”–>“View - Open with”, Open with is more common way to describe this feature

      “Encoding - Character Set”–>“Encoding - Non-English Encoding”. Character set is pretty ambigous name but this submenu contains only encoding related to non-english languages so I thought this name would be more descriptive.

      “Language - User Defined Language”–>“Language - UDL Settings”. IMO things related to UDL were maybe most confusing and illogical part of NPP UI. So I did a lot of changes there.

      “Reload from Disk”–>“Reload”. Usually it is called just Reload or Refresh

      “Open in default viewer”–>“Open in default program”

      “Folder as Workspace”–>“Workspace - Panel”

      “Synchronize Horizontal Scrolling”–>“Sync Horizontal”

      “Focus on Another View”–>“Focus on Other View”

      “Open User Defined Language folder…”–>“Open userDefineLangs Folder…”

      “Notepad++ Online User Manual”–>“USER MANUAL”

      “Run…”–>“Open External Program…”

      “Close - Close All BUT This”–>“Close - Other Tabs”

      Close - Close All to the Left"–>“Close - Left”

      “Find in Files”–>“Search in Multiple Files”. This was especially confusing. I had no idea what Find in Files would mean but Search in Multiple Files is pretty self explanatory.

    • VTGroupGitHubV

      Open files with NPP_EXEC then switch to the tab of the first opened file?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      105 Views
      Vitalii DovganV

      I’ve added this case to the Manual!
      https://d0vgan.github.io/nppexec/?q=4.6.20

    • Franz-Josef BadeF

      Assigning a special UDL Languages

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      139 Views
      Franz-Josef BadeF

      @PeterJones
      Again, thanks a lot and good luck/success for your further work.
      Ps. Do you know perhaps an old program “VEDIT”? I worked with it for some decennies ;-) , but …

    • RaviShankar RR

      Tall tops/bottoms of Devanāgarī letters are clipped in monospace fonts

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      1 Votes
      5 Posts
      190 Views
      PeterJonesP

      @mpheath said in Tall tops/bottoms of Devanāgarī letters are clipped in monospace fonts:

      The line height can be altered by increasing the extra ascent or descent with using the LuaScript plugin.

      Or using PythonScript plugin: add to startup.py:

      editor.setExtraAscent(8) editor.setExtraDescent(6)

      And make sure Plugins > Python Script > Configuration has Initialisation set to ATSTARTUP.

      Or ExtSettings plugin, using the Upper Line Spacing and Lower Line Spacing fields.

    • James Wisecup 0J

      Window sort back to original tab order (default) ...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      207 Views
      Alan KilbornA

      @James-Wisecup-0 said:

      Maybe it’ll be a feature in the near future .

      Likely not.