Community
    • Login

    Notepad++ release 8.9

    Scheduled Pinned Locked Moved Announcements
    24 Posts 7 Posters 2.0k 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.
    • D LixD
      D Lix @PeterJones
      last edited by D Lix

      @PeterJones
      I use 32-bit Notepad++ Portable version 8.9
      The theme where JavaScript entry is duplicated in the Style Configurator’s “Language” list is DuoTone Dark Sea, which is too old and no longer standard compliant, for all the other standard themes there are 2 entries JavaScript and Javscript (embedded). Javascript highlighting does not work even for those standard dark themes.
      Untitled.png

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

        @D-Lix said in Notepad++ release 8.9:

        @PeterJones
        I use 32-bit Notepad++ Portable version 8.9
        The theme where JavaScript entry is duplicated in the Style Configurator’s “Language” list is DuoTone Dark Sea, which is too old and no longer standard compliant,

        Since it doesn’t come with Notepad++, it doesn’t surprise me if it’s out-of-date. When I searched for it, I found this Topic and the website it links to. For whatever reason, the author of that family of themes chose to start from an outdated theme for generating their family of themes, because despite the fact that the separate JS languages have existed since 2015, they didn’t have it when they announced it in 2019, and even the latest 2020 release didn’t use separate ones

        for all the other standard themes there are 2 entries JavaScript and Javscript (embedded). Javascript highlighting does not work even for those standard dark themes.

        Yes it does. I showed you a screenshot of Dark Mode Default, with obvious highlighting of JS in both *.js file and *.html file.

        … But, as I said in my previous post, if a theme was missing a language and was upgraded by v8.9, then it used the default foreground and background color for every style in that new language, but you as the user can change the color for each style in that theme to whatever you think looks good. There is no way for an automated procedure to “guess” a good color that will make every user of a theme happy when filling in a missing style, so using the default color and letting the user change it if they want highlighting is the best choice. In terms of the fact that older Notepad++ versions, with outdated themes, wouldn’t syntax highlight those files, and wouldn’t let you change the colors with Style Configurator, the fact that in v8.9 you now can change those colors with Style Configurator is a drastic improvement – and exactly the improvement that was intended with the v8.9 release.

        Looking in detail, Dark Mode Default and Solarized and Zenburn all have full colorization for JavaScript *.js files. Many of the others have Bold for keywords, though the foreground and background colors are default; and a few have just default foreground and background colors. But all of them allow you to change the color using Style Configurator, if you want it.

        The historical problem is that the users who originally created any given Theme mostly stopped contributing updates to their themes a decade or more ago. As new languages are added to Notepad++, most themes didn’t get them at all (until v8.9), so people using those outdated themes couldn’t use Style Configurator to change their colors, and got no syntax highlighting for those new languages. Now, in v8.9, they are all available in the Style Configurator, no matter what theme they started from… but a user who wants to use one of those themes will have to set their own colors. So it went from being default foreground/background with it being impossible to change that for a given theme without digging into XML, to being default foreground/background colors but being really easy to change it using the Style Configurator – so a drastic improvement.

        D LixD 1 Reply Last reply Reply Quote 0
        • D LixD
          D Lix @PeterJones
          last edited by

          @PeterJones
          Just one more question, why Global override is now missing in the style list when Global Styles is selected in Language list in case of all the standard themes but Global override is still there for my DuoTone Dark Sea theme?

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

            @D-Lix said in Notepad++ release 8.9:

            @PeterJones
            Just one more question, why Global override is now missing in the style list when Global Styles is selected in Language list in case of all the standard themes but Global override is still there for my DuoTone Dark Sea theme?

            It’s not missing in any of them. It’s just been moved to the end of the list, not the beginning, since there’s very little reason to ever use Global Override, and by putting it at the beginning, people were accidentally encouraged to use the Global Override when they should have been changing the Default color instead. (That change of order was made in all distributed themes in v8.7.1.)

            D LixD 1 Reply Last reply Reply Quote 0
            • D LixD
              D Lix @PeterJones
              last edited by

              @PeterJones
              I should have noticed it myself. Thank you.

              1 Reply Last reply Reply Quote 0
              • W
                wimasoft
                last edited by

                There is a character issue in v8.9:
                115ff563-689e-46a3-a100-3e7f6614bd24-image.png

                As you can see it ok in v8.8.9

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

                  @wimasoft
                  I guess it was you who deleted your post, because there’s no issue.
                  Do you confirm?

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    wimasoft @donho
                    last edited by wimasoft

                    @donho
                    yes, it was me, but I thought it would make more sense to post on GitHub.
                    It is an issue for German language.

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

                      @wimasoft

                      Cannot find the issue you created on GitHub.

                      However, I cannot reproduce it:

                      19f9ab4c-88fe-4744-9d38-0eecc85dd6df-image.png

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        wimasoft @donho
                        last edited by wimasoft

                        @donho
                        This is indeed strange. I have extracted v8.9 zip to my existing portable folder. Then it happen. If I extract this version to a new folder everything is ok. Must be my fault…

                        Update: I’ve switched to English, extract new version and switched back to German. No it’s ok.
                        So, no issue any more. Should we delete my posts?

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

                          @wimasoft said in Notepad++ release 8.9:

                          Should we delete my posts?

                          No, it is considered bad form to delete posts made here.

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

                            @PeterJones said in Notepad++ release 8.9:

                            (as described in the in the Update Theme(s) in User Config Directory section of the v8.8.9 Themes FAQ)

                            The Themes FAQ has been updated to include instructions for explaining and fixing the JavaScript if you upgraded to v8.9 and it messed up your JavaScript syntax highlighting.

                            1 Reply Last reply Reply Quote 3
                            • PeterJonesP PeterJones forked this topic on
                            • donhoD
                              donho @donho
                              last edited by donho

                              Hi guys, the screen of my laptop doesn’t work anymore, and I am away from home for a few days.
                              I just got the following email :

                              just wanted you to know that at least since 8.9.9 and including 8.9,
                              the yellow link saying " Home: https://notepad-plus-plus.org/ "
                              in the “about” dialog actually points to notepad-plus-plus.com
                              instead of .org.

                              Win11 32bit version

                              Though It seems improbable, could anyone check v8.9 binaries for me please? Thanks.

                              PeterJonesP xomxX 2 Replies Last reply Reply Quote 1
                              • PeterJonesP
                                PeterJones @donho
                                last edited by PeterJones

                                @donho said in Notepad++ release 8.9:

                                Though It seems improbable, could anyone check v8.9 binaries for me please?

                                I tried both portable and installed (via exe installer) 8.8.9 and 8.9 binary, and the About dialog in all of those says and goes to the .org URL.


                                update: on re-read, I saw it said “32bit version”, so I also grabbed the 32-bit portable 8.9, and the About link was right (.org) there, as well.

                                1 Reply Last reply Reply Quote 4
                                • xomxX
                                  xomx @donho
                                  last edited by

                                  @donho

                                  It’s ok for both x86 and x64 v8.8.9 and v8.9 (checked portable eds).

                                  That “h…ps://notepad-plus-plus.com” currently redirects to a parked domain:
                                  “h…ps://ww38 . notepad-plus-plus . com”

                                  bcf1066b-288c-46cb-81f6-acc221889c46-image.png

                                  Maybe it was used for some attack before?

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

                                    @xomx @PeterJones

                                    Thank you for checking it.

                                    Maybe it was used for some attack before?

                                    No idea. But I think this domain cheats people to download their malwares passively rather than hack the victim actively

                                    xomxX 1 Reply Last reply Reply Quote 2
                                    • xomxX
                                      xomx @donho
                                      last edited by

                                      @donho
                                      Yes, this time by “attack” I meant a phishing campaign or similar.

                                      1 Reply Last reply Reply Quote 3
                                      • J
                                        joemidnite
                                        last edited by

                                        Hi,

                                        I am using 8.9 and I just noticed when I go to edit JavaScript (.js) file, all of the lines are highlighted. I looked into preferences and styles and found nothing that was turned on or off to account for this. Can you please help? The highlighting makes it very hard to read the code unless I am on just one line.

                                        I checked the other files, and it does not happen with the language I code. It seems this is only for JavaScript (.js) files.

                                        Joe Ruffino
                                        Web Programmer

                                        e3b4d63f-40df-4138-bb03-29f87aa0ecf3-image.png

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

                                          @joemidnite said in Notepad++ release 8.9:

                                          am using 8.9 and I just noticed when I go to edit JavaScript (.js) file,

                                          As I said a couple days ago, “The Themes FAQ has been updated to include instructions for explaining and fixing the JavaScript if you upgraded to v8.9 and it messed up your JavaScript syntax highlighting.” The instructions are there.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            joemidnite @PeterJones
                                            last edited by

                                            @PeterJones

                                            I see the instructions, but, it does not address the 2nd JavaScript theme. Would the new install delete the 2nd theme, or should I delete both before I do the update?

                                            Joe Ruffino

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