Notepad++ v7.6.4 released





  • @donho

    nice, thanks for the many fixes and enhancement.
    markdown is also verified to deploy correctly. 👍


    additional supportive notes about the notepad++ 7.6.4 release:

    • @pnedev 's plugins > open plugins folder has been merged and added to the notepad++ menu.

    • autodetect character encoding is still broken, due to the implementation of UCharDet 0.0.6 since version 7.6
      (UCharDet 0.0.6 is verified to behave erratically, if the unmodified source code is compiled on windows, instead of mac or linux.)
      github user @vlakov has additionally compiled some nightly UCharDet code on windows, and discovered that the newer versions produce even worse results, but only when compiled on windows.
      let’s hope that CookiePLMonster has time to take a look at it, or regresses to the previous code (7.5.9).

    • autodetect character encoding is still activated by default, on portable and installer versions of notepad++ 7.6.4. same supportive workarounds apply, as to the previous versions.

    • the DSpellCheck plugin is not included by default anymore, due to performance issues.
      this applies only to fresh installs and portable versions only. DSpellCheck will not be removed on update, if it is already present.


    full change.log:

    Notepad++ v7.6.4 new features and bug-fixes:

    1. Add Markdown in zip packages and fix Markdown not working in installer package of v7.6.3.
    2. Switch from certificate verification to hashes verification due to “Notepad++” is rejected by certification authority:
      https://notepad-plus-plus.org/news/notepad-7.6.4-released.html
    3. Enhance User Defined Language System for supporting more than one UDL file. New behaviour:
      https://notepad-plus-plus.org/community/topic/17072/new-enhancement-for-user-defined-language-system
    4. Add “Remove Consecutive Duplicate Lines” feature to remove duplicate consecutive lines from whole document.
    5. Add new shortcut “shift + scroll” for horizontal scrolling.
    6. Add Stack Overflow as search engine.
    7. Add the capacity to rename non-existing document’s tab.
    8. Fixed file open hang issue in old style mode.
    9. Fix “Find in files” tab translation issue on initial dialog call.
    10. Fixed macro playback junk characters display issue on Find dialog.
    11. Ensure each recorded command is playable before playing to avoid exploit in hacking. (EURO-FOSSA)
    12. Enhance “Search on Internet” command to avoid command hijacked. (EURO-FOSSA)
    13. Fix buffer overrun in Print dialog. (EURO-FOSSA)
    14. Load nppPluginList.dll as resource instead of binary for the sake of security. (EURO-FOSSA)
    15. Check Updater’s authenticity before its each launch to prevent from hijacking. (EURO-FOSSA)
    16. Fix stack buffer overflow in WordStyle dialog. (EURO-FOSSA)
    17. Fix stack buffer overflow issue on User Define Language dialog. (EURO-FOSSA)
    18. Prevent eventual DLL hijacking while loading plugins. (EURO-FOSSA)

    Included plugins:

    1. NppExport v0.2.8 (32-bit x86 only)
    2. Converter 4.2.1
    3. Mime Tool 2.5

    Updater (Installer only):

    • WinGup (for Notepad++) v5.1


  • ps: also many big thanks to @SinghRajenM for the open plugins folder localization fix, the open C:\\ fix, and many, many more.

    you are turbo, turbo, turbo 😉👍



  • @donho It appears the windows installers for 32 and 64bit are no longer digitally signed. Was this meant to be the case, are the installers no longer being signed?



  • @Josh-Schofield said:

    It appears the windows installers for 32 and 64bit are no longer digitally signed

    Yes, that was intentional. It was mentioned on the https://notepad-plus-plus.org/news/notepad-7.6.4-released.html page, as well as in the change log that @meta-chuh quoted here.



  • salut @donho and all

    here are some further 7.6.4 testing results if you need them.
    (7.6.4 commits only, nothing of weight found 👍)


    Use new style open/save file dialog by default:

    issue: all four portable versions, both zip and 7z, both x64 and x86, contain an old config.xml, dated to 2018.12.25 18:16, which still has Use new style file dialog disabled.

    • predicted issue weight: 0-1
    • possible fix: remove the physical config.xml file from all portable zip and 7z packages.
      it will be created correctly on first notepad++ startup, if it is not present yet (Parameters.cpp/Parameters.h).

    success: all 7.6.4 minimalist 7z packages (x86/x64) work as expected, as they do not contain config.xml as a physical file.
    notepad++ will correctly create one on first run&exit.

    success: all installers (x86/x64) work as expected, as they do not contain a config.xml as a file resource.
    notepad++ will correctly create one on first run&exit, inside of %AppData%\Notepad++\ of the current user.


    Fix Markdown not working in installer package of v7.6.3:

    success: the 7.6.4 installers (x86/x64) will correctly deploy userDefinedLang-markdown.default.modern.xml to %AppData%\Notepad++\userDefineLangs of the user account, which is used to install notepad++ (but only this account).

    issue: if more than one user account exists on a machine, markdown will not be deployed to any user accounts, except the user account that was used to install notepad++ 7.6.4.

    • possible fix: deploy userDefinedLang-markdown.default.modern.xml via Parameters.cpp to %AppData%\Notepad++\userDefineLangs if it does not exist.
    • predicted issue weight: 1-4
      see the pre-release testing report for details.

    ps: again many thanks for everything that has been implemented and not been mentioned yet … not mentioned, because it works flawlessly so far 👍



  • Hello, I have problems saving files only in desktop folder, any other folder seems to work fine:

    -open new tab
    -write random text
    -try to save or save as
    -write name test.txt
    -select Desktop as folder to save file
    -click save button
    -error appears:

    File not found.
    Check the file name and try again.

    Notepad++ v7.6.4 (64-bit)
    Build time : Mar 6 2019 - 02:58:24
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll

    even in Admin mode:

    Notepad++ v7.6.4 (64-bit)
    Build time : Mar 6 2019 - 02:58:24
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll

    Thanks for your help



  • welcome to the notepad++ community, @SaitoHiraga and thank you for your detailed debug info.


    i’ve just tried to repproduce this on windows 10 pro x64 or windows 7 pro x64, using 7.6.4 x64 and x86 in both admin and non admin mode.

    can you please go to settings > preferences > default directory and have a look at your use new style dialog setting, as seen at the screenshot below.

    Imgur

    then enable it if it is not set, or disable it if it is set already, and retry.
    does changing this setting make any difference in any behaviour for you ?

    if it does not change, try to create a new local user account, log into it and retry saving anything to this new account’s desktop using notepad++.
    if this works, you will have to check your original account’s permissions and hive.

    for that i would suggest you to open a new topic separately at either the category help wanted, or general discussion, to keep it separate from 7.6.4 release topics, as this would not be related.

    best regards



  • @Meta-Chuh Thanks for your answer, I forgot to mention that I already tried that. I have another laptop with Npp working correctly with win 10 x64 Home, and I installed the same version as that laptop, and it worked fine, the version that doesn’t have that problem of saving files in desktop is 6.9.2, version 7 or later, is not working for me (I installed most versions I could), but I’m perfectly fine with 6.9.2, thanks for your great app. Greetings



  • FYI, the discussion on HN suggests an OSS signing cert for €25.

    The link to the cert issuer is https:// en.sklep.certum .pl/ data-safety/code-signing-certificates/open-source-code-signing-984.html (please fix your Akismet settings).



  • Hello, @don-ho and All,

    Many thanks for this new 7.6.4 version ! I’m thinking about :

    • Renaming new # tabs should be a very useful feature, for people which keeps plenty of these no-saved tabs

    • The enhanced UDL system, more flexible

    • The practical mouse gesture Shift + Mouse Wheel, for horizontal scrolling

    • The new line operation Remove Consecutive Duplicate Lines


    By the way, did anyone notice that the Remove Consecutive Duplicate Lines , implicitly, give us a new command, which could be named Deletes Excess Empty / Blank lines ? Indeed, it just keeps one empty line, from a block of several empty lines and one blank line, from a block of several identical blank lines !

    However, this implicit behavior, when using the Remove Consecutive Duplicate Lines option, may not be desired ! So, may I ask you, Don, for an improvement : As for the sort operations, would it be possible that this command only acts on a normal selection of text ? So, empty lines, in other parts of current document, would not be deleted ;-))

    Now, Don, we already have the two commands Remove Empty Lines and Remove Empty Lines (Containing Blank characters), which deletes all the empty lines, on the entire document. Could it be possible to harmonize these commands ? This means that they would act on current normal selection, only, if such a selection exists.

    Best regards,

    guy038



  • and most important:

    please don’t forget to take a break once in a while again @donho .

    i have probably read all of your recent publications and code changes, noticed the increased amount of time you spent lately, with all the recent worries and additional requests, and i admire how you endure all of it.

    some words in the hope it might relieve a fraction of any possible stress: we have a lot of workarounds and answers for almost everything that is not fixed or implemented yet, and we will give our best to find more, to personally support you as quarterbacks, linemen, and defense.

    with sincere and very grateful regards, MetaChuh



  • @Meta-Chuh said:

    …to personally support you as quarterbacks, linemen, and defense

    To which I say: @donho himself is definitely the quarterback!

    @guy038 said:

    Renaming new # tabs should be a very useful feature, for people which keeps plenty of these no-saved tabs

    And I’m sure this new feature will bring out more data loss stories, if the problems related to that are still not fixed.

    Could it be possible to harmonize these commands ?

    Amen. Soooo confusing the way it currently is.



  • @Alan-Kilborn

    To which I say: @donho himself is definitely the quarterback!

    he’s the OWNER of the team, so if he likes, he can sit down, relax and watch the game with a bucket of popcorn 😉



  • @SaitoHiraga
    I cannot reproduce the issue at all.

    @berezovskyi

    FYI, the discussion on HN suggests an OSS signing cert for €25.

    The price is not really an issue, the CN as Notepad++ is.

    @guy038 said:

    As for the sort operations, would it be possible that this command only acts on a normal selection of text ? So, empty lines, in other parts of current document, would not be deleted ;-))

    Now, Don, we already have the two commands Remove Empty Lines and Remove Empty Lines (Containing Blank characters), which deletes all the empty lines, on the entire document. Could it be possible to harmonize these commands ? This means that they would act on current normal selection, only, if such a selection exists.

    I will consider it. However, I have so many priorities at this moment, these enhancements have to wait for sure.



  • @guy038 said:

    we already have the two commands Remove Empty Lines and Remove Empty Lines (Containing Blank characters), which deletes all the empty lines, on the entire document. Could it be possible to…act on current normal selection, only, if such a selection exists?

    @donho said:

    these enhancements have to wait for sure

    If anybody wants this functionality TODAY, it is just an edit of shortcuts.xml away; add following into macros section, restart N++, look in Macros menu:

        <Macro name="Remove Empty Lines From Selection" Ctrl="no" Alt="no" Shift="no" Key="0">
            <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
            <Action type="3" message="1601" wParam="0" lParam="0" sParam="^\R" />
            <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
            <Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
            <Action type="3" message="1702" wParam="0" lParam="640" sParam="" />
            <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
        </Macro>
        <Macro name="Remove Empty And Lines With Blanks From Sel." Ctrl="no" Alt="no" Shift="no" Key="0">
            <Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
            <Action type="3" message="1601" wParam="0" lParam="0" sParam="^\h*\R" />
            <Action type="3" message="1625" wParam="0" lParam="2" sParam="" />
            <Action type="3" message="1602" wParam="0" lParam="0" sParam="" />
            <Action type="3" message="1702" wParam="0" lParam="640" sParam="" />
            <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" />
        </Macro>
    

    P.S. I know that guy038 knows how to do this and is requesting native functionality for these commands, so no need to point that out to me like I don’t realize it. :)



  • Window 64 - Notepad 7.6.4 in French
    Paramètres > Préférences > Extensions de fichier
    If I add .nfo, it’s lost in the following session.
    If I add .txt, all extensions are added and I lose the ability to create a new text file in the explorer with Right-click.
    Actually, the behavior is completely crazy!
    I think it’s version 7.6.2 that I installed before that broke something in the system…



  • salut and welcome to the notepad++ community @Michel-Bidon

    this is a normal behaviour on machines with enabled uac and has been like that before 7.6.2.

    if you have uac enabled at your windows settings, you have to run notepad++ as administrator in order to add your desired extensions to the windows explorer, as notepad++ would otherwise not have the permissions to set them.

    please close notepad++, right click on the notepad++ icon and select run as administrator (exécuter en tant qu'administrateur).

    then add all your desired extensions to the administrative account.
    restart notepad++ normally and check all your added extensions.
    note: you might have to add some of them at the user level too, but once they are set for the administrator account, you will have the permission to save them to your current windows user account explorer settings.



  • The post (like most updates) says

    Auto-updater will be triggered in few days if there’s no critical issue found.

    I understand the 7.6.0 update is frozen, but are updates from 7.6.x to 7.6.y also frozen? I’m on 7.6.3 and don’t see the update to 7.6.4.



  • Update: I guess so:
    https://notepad-plus-plus.org/update/getDownloadUrl.php?version=7.63&param=x86

    New question: Is there any reason 7.6.x aren’t set to auto update to the latest 7.6.y? And why does the post say otherwise?


Log in to reply