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
      21
      6 Votes
      21 Posts
      3k Views
      donhoD

      @xomx
      Well spotted!

      With the signtool, I passed the argument /as to signed with both the first certif and the 2nd one - that makes the duplication signature on binaries when the script runs morn than 1 time.

      I just fixed the script to pass /a to sign with the first certif and /as with the 2nd one.

      More info:

      /a Select the best signing cert automatically. SignTool will find all valid certs that satisfy all specified conditions and select the one that is valid for the longest. If this option is not present, SignTool will expect to find only one valid signing cert. /as Append this signature. If no primary signature is present, this signature will be made the primary signature instead.

      The explanation is not explicite for /a. In my experience, usage of this parameter removes all the signatures before signing with the certificate.

      The problem of signature duplication is fixed in RC2:
      https://download.notepad-plus-plus.org/repository/8.x/8.8.7.RC2/

      edit: with some tests, it turns out that the argument /a does nothing for the first signing - without /a it still removes all signatures before signing.

    • CoisesC

      Compose for Notepad++ (another experimental plugin)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      15
      7 Votes
      15 Posts
      646 Views
      PeterJonesP

      @Coises ,

      I think with v1.1, it’s a reasonable compromise between what would be ideal and what is practical. Thank you.

    • 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
      665 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.

    • Kim S. AndreasenK

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

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      2 Votes
      12 Posts
      565 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!

    • SuperCPUS

      How to set a different background color for the text before a certain line?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      304 Views
      SuperCPUS

      @mpheath

      I had to save the UDL with and it worked very well, thank you very much!

    • S

      Style Configurations Reset After Update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      297 Views
      PeterJonesP

      @subodhjaiswar said in Style Configurations Reset After Update:

      @PeterJones

      When my IT admin gave me my laptop with my ID(Domain) configured as part of local administrator group, I just simply install NP++ by downloading from Chrome.

      Being part of the administrator group does not force Notepad++ to run in Admin mode. I have always been part of the administrator group, both on my personal PCs and on my work machines. I do not run Notepad++ as administrator.

      Then I launched from desktop, or Start–>N+±-> Enter

      Did you look at those shortcuts, as I explained?

      Then I pinned NP++ and every time my laptop restart I launch NP++ from taskbar

      Did you look at that shortcut, as I explained?

      Since my TP is a single user and no other user I am not sure how to run NP++ with No Admin

      I gave you detailed instructions on how to look for the “Run this program as an administrator” checkbox, both for shortcuts and for the notepad++.exe executable. You have to find the ones that are checked, and uncheckmark them

      Please advise on how do I retain my style settings.

      The instructions already given told you the first step. If you ignore the first step, you cannot hope to fix your problem.

    • H

      Cannot update portable version -- Windows keeps using old version even though it's deleted

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      298 Views
      H

      @Terry-R said in Cannot update portable version -- Windows keeps using old version even though it's deleted:

      @helpdata said in Cannot update portable version -- Windows keeps using old version even though it's deleted:

      Well, you don’t know the reason it changed the default application. It may have been you to make that occur even if you deny that was the case.

      As I said, I REPEATEDLY changed the default app for text files to the I: drive version. I literally navigated again and again to that drive and set that version of the program as default. It did not “take” in Windows, perhaps because the executable had the same name, so Windows decided it’s the same program and did not update. A bug.

      Personally I would just install Notepad++ and then if I needed to maintain version control turn off the auto-updater option as I stated in the previous post.

      I’m considering that, although I do like portable apps. Any more problems and that’s what I’ll do.

      PS your statement of “The I: drive where the portable version has always lived,” is clearly incorrect as has been proven.

      Um, no, it has always been on the I: drive, and the I: drive is backed up to the H: drive. This is definitely a Windows issue. Until recently, Windows did not even allow portable apps to be set as default apps:
      https://learn.microsoft.com/en-us/answers/questions/2795276/is-it-no-longer-possible-to-make-a-portable-progra

      Anyway, thanks for the help.

    • tino tesuT

      v8.8.6 - the function list is not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      419 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
      348 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. :-)

    • Neculai I. FantanaruN

      where exactly can I find the file where the new macro I just saved was saved?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      265 Views
      PeterJonesP

      @john-murphy said in where exactly can I find the file where the new macro I just saved was saved?:

      Also, go to to the search input window and type name:bbb or whatever you named the file if it’s not bbb. Windows will find it. Of course you need to search from a folder that you can reasonable expect to find the file, so that the search doesn’t take too long.

      That has nothing to do with the question asked. You do not name the file that Notepad++ stores macros in. It’s defined internally, and the answers above already explained where to find them.

      I cannot prove you are using generative AI, but it sure feels like it. That is expressly forbidden in this forum. You’ve had two posts like that. If you make a third post that has the same unhelpful pseudo-replies, you will be banned.

    • S

      autoupdater and connection temp.sh

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

      @soft-parsley
      Could you provide your gup.xml file from C:\Program Files\Notepad++\updater\ directory?

    • EkopalypseE

      Weird crash

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      2 Votes
      7 Posts
      292 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 !

    • donhoD

      Notepad++ release 8.8.7 (signed with a legitimate certificate)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      6
      3 Votes
      6 Posts
      3k Views
      Lycan ThropeL

      @donho ,
      And it updated flawlessly. Thank you for getting that smoothed out. When things like that, act up, it gives users the heebee jeebees. :-)

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

    • Juan DelgadoJ

      Windows ARM64 25H2 Notepad++ 8.8.7 doesn't start

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · arm64 25h2 8.8.7
      5
      1 Votes
      5 Posts
      224 Views
      xomxX

      @Juan-Delgado said in Windows ARM64 25H2 Notepad++ 8.8.7 doesn't start:

      So, I uninstalled the Notepad

      I think it helped due to completely deleting the N++ settings, namely the config.xml file. There is a N++ Smart Highlighting bug (already fixed for the next N++ version), more here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17126#issuecomment-3476961976

    • F

      Default LF and not CRLF

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

      @flaviozluca said in Default LF and not CRLF:

      Thanks but in short, so I cant change the default always to default LF?

      In short, your statement is 100% wrong.

      Notepad++ does save the default for new files, as I described above, in detail. Since you don’t seem to want to read that, I will shorten it for you: Open exactly one instance of Notepad++ (no more, no less). Set Settings > Preferences > New Document > Format (Line Ending) to Unix (LF). Exit Notepad++. Then the next time you start Notepad++, all new files you create will use that line ending.

      This obviously doesn’t change the line endings on existing files – existing files are saved with the bytes for either CRLF or LF already. If you open a file that’s already saved with CRLF, you can change the line endings with the Edit > EOL Conversion … sub-menu actions, or by right-clicking on the line-ending indicator on the status bar.

    • Drake_M__D

      Marking Sing Letters In a Document To Clear

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      93 Views
      Drake_M__D

      @Terry-R

      Your second option \sR(\s|$) worked like a charm.

      Thanks so much for the insight - huge help!

    • caramadraC

      Pasting columns into txt from xlsx

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

      Depending the content, you could open the xls file in LibreOffice (or Open Office) and save it as an html file. It won’t be picture-perfect, but it will be in columns.

    • Joe WiltonJ

      UDL - combining C++ folding and Nasal highlighting

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      189 Views
      PeterJonesP

      @Joe-Wilton,

      Obviously there is some interaction between the characters in the Operators 1 list and the Folding in Code 1 and 2 styles.

      The intention for UDL is that no given token (symbol or word) is found in two separate fields: they are supposed to be unique, because you cannot style a token both as an Operator and as a Folding-In-Code, as the two are mutually exclusive. There is an internal order they are processed, but that order is not guaranteed (a few versions back, Notepad++ actually changed the order of a couple of the fields, which broke some UDL that were relying on the old order of processing to handle conflicts in their definitions). If you make the UDL without conflicts, you won’t have problems if Notepad++ changes the internals again.

      (By “no given token … is found”, I mean “is found alone”. For example, you could have a fold-open2 of { and an operator of {{ – if it finds double-brace, it will render it as an operator, but a single-brace will be a fold-open2.)

    • G

      "New UI" for NPP here

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      -2 Votes
      5 Posts
      457 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.