Community
    • Login

    Notepad++ v8.5.4 Release

    Scheduled Pinned Locked Moved Announcements
    30 Posts 15 Posters 12.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • donhoD
      donho
      last edited by

      Notepad++ v8.5.4 Release is available here:
      https://notepad-plus-plus.org/news/v854-released/

      Notepad++ v8.5.4 Release change log:

      1. Fix macro recording regression on Unicode character. (Fix #13757)
      2. Fix regression of defective detection for file read-only attribute removal via Explorer. (Fix #13742)
      3. Fix opening multi-files on multi-instance mode regression. (Fix #36, #13778)
      4. Update: Scintilla 5.3.5 Lexilla 5.2.5. (Implement #13729)
      5. Fix Notepad++ hanging issue running macro to EOF. (Fix #13342)
      6. Fix EOL symbol color/appearence being reset issue while changing encoding. (Fix #13728)
      7. Enable code folding in Assembly source files. (Fix #13758, #9888)
      8. Fix document language not remembered through sessions issue. (Fix #13743)
      9. Add SHA-1 hash features. (Fix #13791)
      10. Add “open new blank document in addition on startup” ability. (Fix #11134, #9535, #5527)
      11. Fix lexer plugin is sorted unconventionally in language menu issue (Fix #9516)
      12. Add message NPPM_DARKMODESUBCLASSANDTHEME to allow plugin to use generic dark mode. (Fix #13574)
      13. Add the ability to close multiple files without saving in Document list. (Fix #13768, #13178)
      14. Several GUI Enhancements. (Fix #13764, #10349, #8109, #13703, #13701, #13686, #13665, #13657, #13676, #13667, #13624, #13622)
      15. Fix error message on uninstallation. (Implement #13653)
      16. Fix tabContextMenu_example.xml not being deleted while uninstallation. (Fix #13670)
      Michael VincentM LuperL wallobitW donhoD 4 Replies Last reply Reply Quote 7
      • Michael VincentM
        Michael Vincent @donho
        last edited by

        @donho

        Not a regression, but perhaps a bug with the new SHA-1 feature:

        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13797

        Cheers.

        donhoD 1 Reply Last reply Reply Quote 2
        • donhoD
          donho @Michael Vincent
          last edited by

          @Michael-Vincent
          Thank you for your heads up and your instructions to reproduce it.
          Fixed now in:
          https://github.com/notepad-plus-plus/notepad-plus-plus/commit/5b5238610e6ca57ee779d04aa19db9e8df568241

          1 Reply Last reply Reply Quote 1
          • LuperL
            Luper @donho
            last edited by

            I’m encountering an error since v8.5 release during a sysprep phase

            error:
            Package NotepadPlusPlus_1.0.0.0_Neutral_7njy0v32s6xk6 was installed for a user but not provisioned for all. this package will not function properly in the sysprep image
            Failed to remove apps for the current user: 0x80073cf2
            Exit code of RemoveAllApps thread was 0x3cf2
            ActionPlatform::LaunchModule: Failure occured while executing “SysprepGeneralizeValidate”

            seems the problem comes from the contextual menu plugin

            donhoD 1 Reply Last reply Reply Quote 0
            • wallobitW
              wallobit @donho
              last edited by

              @donho
              Comments in batch files with colons are no longer correctly formatted across the entire line
              Screenshot.jpg

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @wallobit
                last edited by

                @wallobit said in Notepad++ v8.5.4 Release:

                Comments in batch files with colons are no longer correctly formatted across the entire line

                Hmm, probably because that isn’t a “comment”; it’s a “label”. Comments in batch start with rem but a pseudo comment can start with ::. But a line starting with : is simply a label, even though the rest of the line (after the label) is ignored.

                Likely what happened is that the Scintilla lexer for batch “tightened up” the definition of what a label is, and that resulted in the behavior change you’re seeing.

                rdipardoR 1 Reply Last reply Reply Quote 4
                • donhoD
                  donho @Luper
                  last edited by

                  @Luper
                  This message can be ignored safely.
                  See: https://github.com/notepad-plus-plus/nppShell/issues/29

                  LuperL 1 Reply Last reply Reply Quote 1
                  • Michael SousaM
                    Michael Sousa
                    last edited by

                    The ability to “column select” using the Begin/End Select no longer works. “Column Select” still works when holding down ALT + selection, but the method using Begin/End Select (right click > Begin/End Select > (highlight a least 2 rows to initiate “Column Select”) > right click > Begin/End Select) no longer works with the latest updates.

                    Alan KilbornA 1 Reply Last reply Reply Quote 0
                    • Alan KilbornA
                      Alan Kilborn @Michael Sousa
                      last edited by Alan Kilborn

                      @Michael-Sousa

                      The ability to “column select” using the Begin/End Select no longer works.

                      There’s a relatively new command for this, in the main menus:

                      e8a3fb15-3d0f-4069-83ae-90ec0b0701ec-image.png

                      In the right-click context menu:

                      825910e3-3e84-4f24-90a7-e6e4e21720e9-image.png

                      Michael SousaM 1 Reply Last reply Reply Quote 6
                      • rdipardoR
                        rdipardo @Alan Kilborn
                        last edited by rdipardo

                        @wallobit said in Notepad++ v8.5.4 Release:

                        Comments in batch files with colons are no longer correctly formatted across the entire line

                        Hmm, probably because that isn’t a “comment”; it’s a “label”. Comments in batch start with rem but a pseudo comment can start with ::. But a line starting with : is simply a label, even though the rest of the line (after the label) is ignored.

                        Likely what happened is that the Scintilla lexer for batch “tightened up” the definition of what a label is, and that resulted in the behavior change you’re seeing.

                        @Alan-Kilborn, that’s exactly what happened.

                        The former way of styling labels was reported as a bug and changed in Lexilla 5.2.5, which added a new style class for the rest of the line after the first word of the label.

                        Of course none of the themes have been updated with the new SCE_BAT_AFTER_LABEL style (id 8). In fact, the only way to replicate the former style would be to copy and paste the existing label style, adding the attribute styleId="8", in every theme’s XML descriptor. That’s really a design choice, and there’s no chance that every theme maintainer will universally adopt it.

                        So, basically, what you see is how Batch labels are going to look from now on.

                        Michael VincentM 1 Reply Last reply Reply Quote 4
                        • Michael VincentM
                          Michael Vincent @rdipardo
                          last edited by Michael Vincent

                          @rdipardo said in Notepad++ v8.5.4 Release:

                          Of course none of the themes have been updated with the new SCE_BAT_AFTER_LABEL style (id 8). In fact, the only way to replicate the former style would be to copy and paste the existing label style, adding the attribute styleId=“8”, in every theme’s XML descriptor.

                          Thanks - verified that works:

                          9cf2e426-a15d-4f50-8509-16f22040bc1f-image.png

                          Relevant section of my styler file:

                                  <LexerType name="batch" desc="Batch" ext="">
                                      <WordsStyle name="DEFAULT" styleID="0" fgColor="E0E2E4" bgColor="202020" fontName="" fontStyle="0" fontSize="" />
                                      <WordsStyle name="COMMENT" styleID="1" fgColor="66747B" bgColor="202020" fontName="" fontStyle="0" fontSize="" />
                                      <WordsStyle name="KEYWORDS" styleID="2" fgColor="93C763" bgColor="202020" fontName="" fontStyle="1" fontSize="" keywordClass="instre1">ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION</WordsStyle>
                                      <WordsStyle name="LABEL" styleID="3" fgColor="A082BD" bgColor="202020" fontName="" fontStyle="1" fontSize="" />
                                      <WordsStyle name="HIDE SYMBOL" styleID="4" fgColor="D3DA50" bgColor="202020" fontName="" fontStyle="0" fontSize="" />
                                      <WordsStyle name="COMMAND" styleID="5" fgColor="FFCD22" bgColor="202020" fontName="" fontStyle="0" fontSize="" />
                                      <WordsStyle name="VARIABLE" styleID="6" fgColor="678CB1" bgColor="202020" fontName="" fontStyle="1" fontSize="" />
                                      <WordsStyle name="OPERATOR" styleID="7" fgColor="E8E2B7" bgColor="202020" fontName="" fontStyle="1" fontSize="" />
                                      <WordsStyle name="AFTER LABEL" styleID="8" fgColor="66747B" bgColor="202020" fontName="" fontStyle="1" fontSize="" />
                                  </LexerType>
                          

                          Cheers.

                          1 Reply Last reply Reply Quote 6
                          • donhoD
                            donho @donho
                            last edited by

                            FYI
                            Auto-update of v8.5.4 has been triggered.

                            1 Reply Last reply Reply Quote 1
                            • LuperL
                              Luper @donho
                              last edited by

                              @donho Hi

                              I know it but the triggered error is seriously painful to manage.
                              I’m deploying several hundreds of windows with a syspreped image and if I told my users to manually install the software, they will seriously have a bit of anger toward me…

                              can’t have the powershell command add-appxprovisionned package working to transform the user-defined package to a computer-defined package
                              https://learn.microsoft.com/en-us/powershell/module/dism/add-appxprovisionedpackage?view=windowsserver2022-ps

                              maybe it can be used during the building of the plugin?

                              1 Reply Last reply Reply Quote 0
                              • XanKyBpaTX
                                XanKyBpaT
                                last edited by

                                I update my notepad++ to 8.5.4. Now i have 2 menus with the same name SHA-256. They do 2 different things - one generate sha256 and the other generate sha1. See printscreen. Maybe localization is broken.

                                Sorry for my bad english (i am native bulgarian).

                                e2e4a376-6e7a-471e-b490-cd95eb3eb60b-изображение.png

                                5e9501cf-e681-4183-84d3-d9b037c51d1d-изображение.png

                                PeterJonesP 1 Reply Last reply Reply Quote 0
                                • PeterJonesP
                                  PeterJones @XanKyBpaT
                                  last edited by

                                  @XanKyBpaT said in Notepad++ v8.5.4 Release:

                                  I update my notepad++ to 8.5.4. Now i have 2 menus with the same name SHA-256. They do 2 different things - one generate sha256 and the other generate sha1. See printscreen. Maybe localization is broken.

                                  That’s exactly the same thing that @Michael-Vincent pointed out in his very first reply in this topic ten days ago. It will be fixed in the next version of Notepad++.

                                  XanKyBpaTX 1 Reply Last reply Reply Quote 1
                                  • XanKyBpaTX
                                    XanKyBpaT @PeterJones
                                    last edited by

                                    @PeterJones
                                    I am stupid. Thank you!

                                    1 Reply Last reply Reply Quote 1
                                    • Michael SousaM
                                      Michael Sousa @Alan Kilborn
                                      last edited by

                                      @Alan-Kilborn Thanks for the response Alan. I did not notice that and happy to see there’s a shortcut for it as well.

                                      1 Reply Last reply Reply Quote 0
                                      • Kirill ShalyginK
                                        Kirill Shalygin
                                        last edited by

                                        Hello,
                                        first of all - thank you all for your work! I like npp so much :)
                                        And it is quite pity that my first message here is a complain :(
                                        Seems I update npp too rarely… Today I’ve updated it from 8.4.7 up to current version. So much changes, maybe very useful - but I am very frustrated… There is no bash/shell syntax suport here? There is neither syntax choice (unser 'S, as earlier) not file extantion to save. Is it an error or feature? I had to rollback to good old 8.4.7 even if it costed me all my custom settings :(
                                        WBR
                                        Kirill

                                        PeterJonesP mpheathM 2 Replies Last reply Reply Quote 1
                                        • PeterJonesP
                                          PeterJones @Kirill Shalygin
                                          last edited by PeterJones

                                          @Kirill-Shalygin said in Notepad++ v8.5.4 Release:

                                          There is no bash/shell syntax suport here?

                                          9754bc69-bc9b-4272-a17e-08c3fdb45ea2-image.png

                                          c16532eb-9e9d-41ca-b672-14a873e762a2-image.png

                                          It may be confusing because it’s called “Shell” in the Language menu but “Bash” in the Style Configurator.

                                          1 Reply Last reply Reply Quote 3
                                          • mpheathM
                                            mpheath @Kirill Shalygin
                                            last edited by

                                            @Kirill-Shalygin said in Notepad++ v8.5.4 Release:

                                            …
                                            There is neither syntax choice (unser 'S, as earlier) not file extantion to save.
                                            …

                                            As for the Save as type, look for Unix script file

                                            Unix script file (*.bash;*.sh;*.bsh;*.csh;*.bash_profile;*.bashrc;*.profile; *.*.*.)
                                            

                                            which can append the extension if the checkbox is checked

                                            new 1.bash
                                            

                                            Tip: Focus the Save as type combobox and type the letter u and it will select the Unix script file item which can be quicker than viewing the long drop down list to find the item to select.

                                            Kirill ShalyginK 1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors