• 0 Votes
    5 Posts
    1k Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

  • 0 Votes
    6 Posts
    5k Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

  • Unicode Normalize: A simple plugin

    Notepad++ & Plugin Development
    4
    5 Votes
    4 Posts
    432 Views
    CoisesC

    @guy038

    I implemented your suggestions in version 1.1.

    Hex values for the Unicode code points are shown if there are no more than eight code points in any of the normalized forms.

  • 0 Votes
    16 Posts
    58k Views
    Edgar RamirezE

    @Vito-Evola I’ve got the simplest workaround and tested it… Download the portable version of Notepad++ and unpack Notepad++ inside a folder in Dropbox.

    Is that simple, both computers found the txt files and since my files are also inside Dropbox then no broken files.

    Hope you find this helpful!

  • 0 Votes
    2 Posts
    124 Views
    PeterJonesP

    @Mario-Spiru ,

    When Notepad++ is installed normally, it registers the NppShell.dll, which is what adds the normal “Edit with Notepad++” entry in the context menu. The User Manual’s Right Click - Edit with Notepad++ page has a section which explains how to manually unregister or register that DLL. So, to remove that context menu entry, you have to unregister the DLL. (Please note: you may need to be in an Admin command window to get it to unregister; and you may need to log out and back in for the unregister to take effect.)

    If you manually created some other “Edit with Notepad++” entry, unregistering the DLL will do nothing, and you will have to reverse whatever manual steps you took to create the entry in the first place.

  • 2 Minor Requests

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    199 Views
    PeterJonesP

    @JCB said in 2 Minor Requests:

    It would be nice to have a cancel option in the Create File dialog when trying to open NP++ with a nonexistent file.

    In what way is the “no” button not sufficient for your needs?

    a60caeed-04ac-48d1-b18d-186caea59100-image.png

    Also (since Windows is not real wonderful about restoring all my drive mappings on startup) if a file in the recently used list is on one of those drives, please do not remove it from the recently used list (or give me the option to keep it). Thanks.

    As described in User Manual > Preferences > Recent Files History:
    1340b2c4-4dbb-4fa0-9d9a-64a0ff6077bd-image.png

    Checkmark that option. Then, when Notepad++ launches, it will not remove missing files from the Recent Files History list.

  • 0 Votes
    2 Posts
    145 Views
    C BaccaC

    @C-Bacca Yep, just install the Autosave plugin. Then in the plugin turn on autosave on losing focus.

  • quick toggle multi-line tab on/off.

    General Discussion
    8
    0 Votes
    8 Posts
    1k Views
    N

    @PeterJones
    That’s really unfortunate to find out… Even though it was made possible by mistake, we actually had it! So it’s certainly technically possible to implement. Wish an exception can be made for the Multi-line feature and an ID code can be assigned to be able to call upon it outside of Preferences.
    Well thank you very much for the reply because I know now, so appreciate it.

  • Notepad++ v8.8.7 Release Candidate

    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.

  • 0 Votes
    9 Posts
    456 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.

  • 0 Votes
    5 Posts
    380 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.

  • UDL - combining C++ folding and Nasal highlighting

    General Discussion
    5
    0 Votes
    5 Posts
    323 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.)

  • 0 Votes
    2 Posts
    119 Views
    PeterJonesP

    @Eric-Y ,

    has anyone else seen this?

    I have not.

    If it were just randomly typing it where your cursor/caret is, I would say that maybe you have a dirty or flakey keyboard. But since it seems to be happening in random locations, even though your caret/cursor is not there, I might blame a flakey plugin, or maybe you have a broken AutoHotKey or similar external program that’s incorrectly injecting keystrokes into Notepad++.

    To debug a Plugin as the possible issue, see our Crash FAQ: Possible Culprit: Plugin – the FAQ focuses on crashes, but really that section of the FAQ applies for debugging any problem that might be caused by a plugin.

    unfortunately, we cannot really help you debug AHK or other external programs.

  • 15sec freeze with word wrap

    General Discussion
    2
    0 Votes
    2 Posts
    141 Views
    PeterJonesP

    @Cheok-SC said in 15sec freeze with word wrap:

    Is Word Wrap really that heavy of a performance cost?

    Yes.

    There’s a reason that Settings > Preferences > Performance automatically deactivates word-wrap for large files, when all the other performance issues start with the checkboxes off, so you have to decide to also deactivate other features for large files. Word wrap and syntax highlighting are the two biggest performance costs, because they involve processing the entire file

  • JSON String Escape / Unescape

    Notepad++ & Plugin Development
    12
    0 Votes
    12 Posts
    21k Views
    Alexander VerbitskyA

    @Ilia-Nenashev said in JSON String Escape / Unescape:

    Such possibility I have found only in https://github.com/RolandTaverner/npp-json-escape-unescape-plugin but there is some risk of installing compiled plugin from outside of community.

    Well, I’m (the author of the npp-json-escape-unescape-plugin) not that far outside the community. Also, I’ve finally fixed the plugin solution so anyone can build it from source (see the instructions in the README).

  • Weird crash

    General Discussion
    7
    2 Votes
    7 Posts
    413 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 !

  • Notepad++ v8.8.6 Release

    Announcements
    6
    4 Votes
    6 Posts
    4k 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.

  • 0 Votes
    15 Posts
    822 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.

  • Notepad++ Azerbaijani translation (8.7.3)

    Translation
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • NppExec v0.8.10 has been released!

    Notepad++ & Plugin Development
    1
    5 Votes
    1 Posts
    212 Views
    No one has replied