Community
    • Login

    Notepad++ v8.5.4 Release

    Scheduled Pinned Locked Moved Announcements
    30 Posts 15 Posters 12.9k 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.
    • 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
        • Kirill ShalyginK
          Kirill Shalygin @mpheath
          last edited by

          @mpheath thank you for check!
          ‘Highly probably’ :) there was a glitch somewhere in npp stored data. The full story looks like:

          • first update - there was no Shell in syntax
          • remove of the new version with data stored, then install 8.5.4 - Shell was absent yet
          • remove npp (data still not removed!) with rollback to 8.7.4 - there is no Shell again
          • full remove includung stored data, then 8.7.4 install - sucsess, Shell returned back!
          • update up to 8.5.4 - nothing is spoiled, Shell is OK.
            So now everithing is fine!
            BTW, maybe the reson of glitch is somewhere in localization? Historically I use russian in npp… Well, maybe it is the good reason to change language finally :)

          WBR
          Kirill

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

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

            …
            So now everithing is fine!
            BTW, maybe the reson of glitch is somewhere in localization? Historically I use russian in npp… Well, maybe it is the good reason to change language finally :)
            …

            Happy that you solved the problem :)

            I checked the sources for Bash (Shell) and it has not changed for about 6 years. I would suspect file corruption in %AppData%\Notepad++\langs.xml as that is where the file extensions and keywords are stored for Bash. Without a working extension identification for Bash, no automatic Bash language selection which causes no document styling and the Save dialog will not pre-select Unix scripts files in the combobox. Append extension string is localized though I consider as less likely as a cause so russian should be good.

            Stefan PendlS 1 Reply Last reply Reply Quote 1
            • Stefan PendlS
              Stefan Pendl @mpheath
              last edited by

              @mpheath
              You can compare you personal languages file in %APPDATA% with the one shipping with NPP.
              If there are no customization’s that you need in your file, replace it with the one shipping with NPP.

              1 Reply Last reply Reply Quote 1
              • ifschulzI
                ifschulz
                last edited by

                There seems to be an issue with shell script syntax highlighting when using a ‘$’ as the last character of a double quoted string. Up to npp-v8.5.3 everything was fine, but with v8.5.4 it breaks the syntax highlighting to the end of the document:

                v8.5.3:

                a41b2c62-167b-46e0-a206-4f19dc035b61-image.png

                v8.5.4:

                5ce60179-6c37-4fc6-b523-afa9ab6dd8c6-image.png

                This can of course be fixed with escaping the ‘$’ sign:

                ad4d5322-8ac2-4b1a-ac7e-c9259421a422-image.png

                Even though using an unescaped ‘$’ sign inside double quotes when not referencing a variable is not best practice, it should still not break the syntax highlighting.

                mpheathM 1 Reply Last reply Reply Quote 0
                • mpheathM
                  mpheath @ifschulz
                  last edited by

                  @ifschulz 6 items are listed for Bash in the change log for Lexilla v5.2.5 that was pulled in Notepad++.

                  Whether your examples are a bug or intentional is unknown to myself as $,`, \ are special characters within double quotes as mentioned in

                  https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html

                  and the Bash lexer can optionally highlight code within these strings. The backslash escape looks correct to make $ a literal, though the person who changed the lexer may still see this as a bug in the lexer and may change it. If you want, you can submit a new issue to Lexilla to have it evaluated.

                  ifschulzI 1 Reply Last reply Reply Quote 2
                  • ifschulzI
                    ifschulz @mpheath
                    last edited by

                    @mpheath, Thanks for info. I submitted a new issue to Lexilla.

                    1 Reply Last reply Reply Quote 2
                    • heffthedevH
                      heffthedev
                      last edited by

                      Since using 8.5.4 the tabs have an increased font-size. Can this somehow be changed as it was before?

                      1 Reply Last reply Reply Quote 0
                      • wonkawillyW
                        wonkawilly
                        last edited by

                        This post is deleted!
                        Alan KilbornA 1 Reply Last reply Reply Quote -1
                        • Alan KilbornA
                          Alan Kilborn @wonkawilly
                          last edited by Alan Kilborn

                          @wonkawilly

                          I think you’ve been around long enough to know better for making such a posting (and in this thread, too, which is reserved for ONLY important issues regarding rel. 8.5.4). It’s sad when people don’t learn…

                          wonkawillyW 1 Reply Last reply Reply Quote 1
                          • wonkawillyW wonkawilly referenced this topic on
                          • wonkawillyW
                            wonkawilly @Alan Kilborn
                            last edited by

                            @Alan-Kilborn
                            Thank you so much for the advice: I have corrected my mistake deleting the wrong post and moving it to General discussion section here: https://community.notepad-plus-plus.org/topic/24713/enhancement-request-plugins-admin-dialog-transform-the-search-feature-like-the-one-into-shortcut-mapper-s-dialog-incremental-filter
                            Thank you again.

                            1 Reply Last reply Reply Quote 1
                            • donhoD donho unpinned this topic on
                            • PeterJonesP PeterJones locked this topic on
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors