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
      16
      8 Votes
      16 Posts
      1k Views
      CoisesC

      In case anyone is interested, I’ve created a version of this that runs as a Windows application rather than as a Notepad++ plugin, so it works in all applications:

      Compose for Windows

      This should be considered experimental. Since it works everywhere, not just in Notepad++, it has more potential to mess things up if I’ve missed something.

      Since it has no connection to Notepad++ (other than being a spin-off of the plugin described in the original topic message):

      The convenience features for editing a user definitions file which I added in response to @PeterJones’ notes aren’t included.

      Further discussion will be off-topic here. Please raise questions and concerns in the Issues for the project.

      The actions to create GitHub pages are, for some reason and at least temporarily, not working on this repository, which affects the normal presentation of the help file. However, you can still read the help file here (though some links appear to be garbled).

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

    • 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
      441 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
      422 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
      438 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.

    • pbarneyP

      PHP Linter PythonScript

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

      @pbarney said in PHP Linter PythonScript:

      my impression is that Pythonscript ships with 2.8

      From Plugins Admin, PythonScript v2.1.0 uses Python v2.7.18 (as far as I am aware, there is no such thing as Python v2.8).

      However, if you go to the PythonScript releases page, you will see that there is also an “alpha” track of PythonScript v3.0.x (currently at 3.0.24), which use Python v3.12.xx. This is the route I personally recommend (caveat below).

      The maintainer of PythonScript has chosen not to take PythonScript 3 out of “alpha” until it fully supports non-unicode encodings (ie, until it supports the 1980s-style character set encodings), so until that point, to get a maintained version of the Python interpreter for PythonScript, you have to manually install an alpha version of PythonScript – essentially, you have to put up with legacy syntax of Python if you want to deal with legacy non-unicode encodings of text. I personally have no need of supporting 80s technology for file encodings (and I pity anyone for whom their circumstances demand that they deal with file encodings that haven’t been brought into this millennium anytime in the last quarter century), so I use the 2020s version of Python for my PythonScript. (My personal opinion is that PythonScript should start shipping PythonScript 3 as non-alpha, and that they just prominently make it clear that if you have to deal with the old character sets that you should instead install the outdated PythonScript2 version from the releases page. But my opinion on such things holds no weight.)

    • tino tesuT

      v8.8.6 - the function list is not working

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

    • 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
      367 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
      2k 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
      397 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 !

    • Tnega TercesT

      How To Read And Edit ASCII File with HEX Values Inside

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · ascii hex value
      6
      1 Votes
      6 Posts
      583 Views
      Tnega TercesT

      Thank you guys all so very much, now that I know that it’s a GVAS file, I’ll chase down that lead and try to get somewhere!!!

    • donhoD

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

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      6
      3 Votes
      6 Posts
      4k 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. :-)

    • G

      Contribution Guidelines Regarding LLMs

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

      @rdipardo

      I didn’t mean that I run and hide from anything that AI is touched or influenced by. That wouldn’t be practical.

    • Wes OwensW

      Find results box - F7 to toggle vs. show only

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development feature request
      5
      0 Votes
      5 Posts
      392 Views
      PeterJonesP

      @Wes-Owens

      Here is the procedure, which is 100% reliable for me:

      Ctrl+F, enter search terms, FIND ALL IN CURRENT DOCUMENT Find Dialog closes. Search Results dialog is shown Hitting F7 will toggle between the Search Results and Editor having focus If Search Results has focus, it will have blue title bar If editor has focus, you will be able to type in editor If Search Results has focus, hitting ESC will close it

      See this animated screen grab:

      3ca2bc47-53e2-4871-b24b-80793ab27d1a-SearchResultsF7-ESC.gif

      edit: even if I have the setting that @Terry-R mentioned checkmarked: I see the Search Dialog after hitting the FIND ALL IN CURRENT DOCUMENT button, I still see that the Search Results window is given focus when I do (see the blue title bar for that panel):

      f034944b-732d-455c-a662-8c445c4d0573-image.png

      And when the Search Results have focus, the SINGLE KEY ESC is sufficient to close the panel.

    • 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
      344 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
      304 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
      170 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
      372 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
      304 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.)