Community
    • Login

    Notepad++ v8.9.1 Release

    Scheduled Pinned Locked Moved Announcements
    18 Posts 8 Posters 10.2k 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 donho

      Notepad++ release 8.9.1 is available:
      https://notepad-plus-plus.org/news/v891-released/

      Notepad++ v8.9.1 regression fixes, bug-fixes & new improvements:

      1. Fix EOL duplication regression when playing back old recorded macros. (Fix issue)
      2. Remedy search failure for pasted text containing trailing invisible EOL character. (Fix #17124, #17187)
      3. Fix customized context menu regression where separator (id=“0”) escapes FolderName submenu. (Fix #17342)
      4. Fix issue where a single undo reverted multiple changes after macro execution. (Fix #9426)
      5. Fix visual glitch when dragging dockable dialogs on a 2nd monitor. (Fix #16805, #16155, #16077)
      6. Fix inconsistent automatic search mode switching (RegEx to Extended) in Find dialog. (Fix #17227)
      7. Fix incorrect URL parsing caused by Unicode special spaces. (Fix #16856)
      8. Update to Boost 1.90.0. (Implement #17326)
      9. Improve update themes feature: fix JavaScript.js edge case. (Fix issue)
      10. Update javascript.js to better match javascript (embedded) in all themes. (Fix issue, report)
      11. Function List: enhance for Perl & PHP; add for Nim. (Fix #17382, #17327, implement #17377)
      12. Fix comments and highlighting in TCL. (Fix #17315)
      13. Update perl syntax highliging keywords and autocomplete for 5.42. (Fix #17332)
      14. Improvement: display Find dialog status message with invisible characters warning. (Fix #17345)

      Auto-updater will be triggered in one week, if no critical issue found.

      donhoD A TA 3 Replies Last reply Reply Quote 6
      • donhoD
        donho @donho
        last edited by

        FYI, the reported bug in MSI package is fixed.
        The MSI package has been updated. Of course, its GPG signature, the sha256 checksum & the signature of checksum have been updated as well.
        Sorry for the inconvenience.

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

          FYI: Auto-update will be triggered for this release in one hours.

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

            Auto-update is triggered for v8.9.1.

            Note that auto-update doesn’t work when updating from v8.8.9 to v8.9.1 or later versions.
            Version 8.8.9 will download the installer, but it will not launch the v8.9.1 or any newest installer, because v8.8.9 attempts to verify the old Notepad++ auto-signed certificate (which was removed since v8.9) instead of GlobalSign’s certificate.

            1 Reply Last reply Reply Quote 3
            • A TA
              A T @donho
              last edited by

              @donho
              I went to the trouble to verify the signature before installing. I got this which includes a warning. Note, first time verifying sig using gpg, so maybe I got something wrong but I don’t think so.

              PS C:\Users\malaw\Downloads> gpg --import .\nppGpgPub.asc
              gpg: key 6C429F1D8D84F46E: 56 signatures not checked due to missing keys
              gpg: key 6C429F1D8D84F46E: “Notepad++ don.h@free.fr” not changed
              gpg: Total number processed: 1
              gpg: unchanged: 1
              PS C:\Users\malaw\Downloads> gpg --verify .\npp.8.9.1.Installer.exe.sig
              gpg: assuming signed data in ‘.\npp.8.9.1.Installer.exe’
              gpg: Signature made 01/26/26 06:25:43 Pacific Standard Time
              gpg: using RSA key 14BCE4362749B2B51F8C71226C429F1D8D84F46E
              gpg: Good signature from “Notepad++ don.h@free.fr” [unknown]
              gpg: WARNING: This key is not certified with a trusted signature!
              gpg: There is no indication that the signature belongs to the owner.
              14BCE4362749B2B51F8C71226C429F1D8D84F46E
              PS C:\Users\malaw\Downloads>

              So, good that it said good sig. Bad that key is not certified with trusted sig.

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

                @A-T said in Notepad++ v8.9.1 Release:

                Bad that key is not certified with trusted sig.

                That just means that you haven’t marked it as trusted. GPG relies upon you to decide whether you trust a public key or not. If you don’t certify it as trusted, it will always say that it’s not signed with a trusted key, even though it confirms that it was signed with the key that it said it did.

                1 Reply Last reply Reply Quote 2
                • D
                  Drift91
                  last edited by

                  Hi, for some reason it seems that in the INI and Properties languages Notepad++ now displays text before a : in italics. After downgrading Notepad++ it seems this started in v8.8.9. I should also mention that fixing it after downgrading requires any customized themes in %appdata%\Notepad++\themes to be deleted or presumably fixed by hand.

                  Example:
                  03d0905b-047e-4958-9f64-871685fefcbc-image.png

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

                    @Drift91 Before the colon is the key. Git blame shows it has been italics for 6 years when the key style was added. : and = are key and value separators. ; is not a separator. The lexer code sees, ;, # and ! as start of a comment line. I am unsure what you fixed.

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

                      @mpheath said in Notepad++ v8.9.1 Release:

                      I am unsure what you fixed.

                      @mpheath, the user had outdated themes, which didn’t have the KEY style for either Langage:INI or Language:Properties. When v8.9.1 brought in all those style entries for the INI and Properties lexers, it began properly formatting those styles rather than ignoring those styles that weren’t defined in the themes. This was the intention of the new style-updating feature: it is intended to bring all themes up-to-date, so that they can format all the styles that users have not been seeing for years (for some, it’s a decade or more of missing syntax highlighting).

                      @Drift91: As with all styles, if you don’t like the formatting that is chosen by default for a given style, you are free to change it for yourself. You go to Settings > Style Configurator > Language: INI or Language: Properties, select Style: KEY and change the Italic checkbox, as shown here for INI: 4b2d19b9-b707-4bc0-a668-3b1acb7041c8-image.png

                      D 1 Reply Last reply Reply Quote 2
                      • Pete DavisP
                        Pete Davis
                        last edited by

                        Bug report: Find in files causes Notepad++ to crash. Have upgraded to 8.9.1. No improvement. Windows version 11 Home 10.0.26200 Build 26200

                        PeterJonesP rdipardoR 2 Replies Last reply Reply Quote 0
                        • PeterJonesP
                          PeterJones @Pete Davis
                          last edited by

                          @Pete-Davis said in Notepad++ v8.9.1 Release:

                          Bug report: Find in files causes Notepad++ to crash. Have upgraded to 8.9.1. No improvement. Windows version 11 Home 10.0.26200 Build 26200

                          Cannot reproduce. Find in Files works just fine with v8.9.1 for me. You will need to be more specific than that.

                          • ?-menu Debug Info
                          • Exact sequence of events that cause it to crash
                          • State of Find in Files dialog before the crash (what values, what options enabled, what buttons you pressed, etc)
                          1 Reply Last reply Reply Quote 1
                          • rdipardoR
                            rdipardo @Pete Davis
                            last edited by

                            @Pete-Davis, if you’re using WebEdit, a fixed version is already available.

                            1 Reply Last reply Reply Quote 1
                            • N
                              NovusOperandi
                              last edited by

                              Having some issues since the 8.9.1 update. Notepad++ was working great for me prior to that. (Wonderful program in general, by the way.)

                              • I’m coding in Python, and the first thing I noticed was the syntax highlighting had multiple changes in color & style I didn’t enjoy. So, I figured out how to change those in Style Configurator. (Not a problem, just an annoyance.)

                              • Noticed backspacing would no longer unindent (as previous), but simply go back by single spaces. Found the option to change that behavior under Settings>Preferences>Indentation. (Though it doesn’t seem to work consistently. I’m unsure why. And this may be connected to the issue I’m experiencing below.)

                              • New code I’ve written today in Notepad++ (which is a mix of code written pre-update & code written post-update) is pulling either “IndentationError: unindent does not match any outer indentation level” or “TabError: inconsistent use of tabs and spaces in indentation”. (I’ve gone through line-by-line, removed any spacing / indents, and re-indented, but this doesn’t seem to resolve it.)

                              • I’ve also noticed that folding of code (in my Python files) doesn’t work as it previously did, and sections of code are either not being folded, only partially being folded, or folding in sections beneath them that should not be folded.

                              I reverted back to the previous 8.9.0 & wait for fixes, but that doesn’t seem to address any of these issues, and I’m unsure of why.

                              Any help or advice would be much appreciated. As at present, my project won’t even launch. Thanks.

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

                                @NovusOperandi said in Notepad++ v8.9.1 Release:

                                Having some issues since the 8.9.1 update. Notepad++ was working great for me prior to that. (Wonderful program in general, by the way.)

                                • I’m coding in Python, and the first thing I noticed was the syntax highlighting had multiple changes in color & style I didn’t enjoy. So, I figured out how to change those in Style Configurator. (Not a problem, just an annoyance.)

                                What version did you upgrade from? Because Python styles didn’t change recently. OTOH, the last few versions of Notepad++ have automatically brought in the new styles that were missing from your theme, so if your theme (or stylers.xml) had been customized a long time ago, it had probably missed the addition of new styles a long time ago. Assuming you went from something older than v8.8.9 and skipped all the way to v8.9.1, then it would have added those new styles (but should not have overwritten any colors on existing styles).

                                • Noticed backspacing would no longer unindent (as previous), but simply go back by single spaces. Found the option to change that behavior under Settings>Preferences>Indentation. (Though it doesn’t seem to work consistently. I’m unsure why. And this may be connected to the issue I’m experiencing below.)

                                The option to control backspace-unindent has existed since v8.6.9 from July 2024. But it’s defaulted to not being enabled (so backspace doesn’t unindent) since the beginning of that option. So if backspace was previously unindenting for you, you must’ve turned on that option at some point in the past.

                                When you updated, did you just run the updater? Or did you uninstall the old version then run updater (and, if uninstall first, did you tell it to keep your settings or delete them)? Because that almost sounds like you lost your config.xml, because otherwise that setting should not have changed on you.

                                • New code I’ve written today in Notepad++ (which is a mix of code written pre-update & code written post-update) is pulling either “IndentationError: unindent does not match any outer indentation level” or “TabError: inconsistent use of tabs and spaces in indentation”. (I’ve gone through line-by-line, removed any spacing / indents, and re-indented, but this doesn’t seem to resolve it.)

                                Are you 100% certain of your line-by-line check? Have you tried View > Show Symbol > Show Space and Tab to help with that process?

                                • I’ve also noticed that folding of code (in my Python files) doesn’t work as it previously did, and sections of code are either not being folded, only partially being folded, or folding in sections beneath them that should not be folded.

                                Someone has reported a bug with folding in v8.9.1. Per the list of changes in the Announcement above, I don’t think anything was expected to change folding behavior in Python or any other language. So it surprises me that a regression would be caused here. Again, knowing what version you were using before your upgrade would be helpful. Also, do you have a small piece of Python code that you could paste here, which shows the folding bug? (Use the </> button, and paste your python code between the ``` lines that the button creates in your reply.)

                                (edit: I see that you were that “Someone”… Sorry I didn’t notice that at first. Still, giving code that someone can copy/paste would help, because your screenshot over there is not sufficient to replicate your bug.)

                                I reverted back to the previous 8.9.0 & wait for fixes, but that doesn’t seem to address any of these issues, and I’m unsure of why.

                                none of the issues? That surprises me. If the folding were a v8.9.1 regression, at least that should have been fixed; if not, the regression was caused earlier – and you will need to share what version you were using before the upgrade in order to help figure out where that bug was introduced. The backspace-unindents doesn’t surprise me, because once config.xml got saved, when you installed the older version, it was installed with that option in the same state. (And if you deleted your config.xml when downgrading to v8.9.0, it would have started in the default condition, which is backspace-does-not-unindent.)

                                Any help or advice would be much appreciated. As at present, my project won’t even launch.

                                I would have thought python would give you a line number of where the inconsistency in indentation occurs, so you should easily be able to compare indentation characters before and after the first line mentioned. Quick experiments:

                                1. if I have tab on the first indent followed by spaces on the second, it gives the IndentationError:
                                  9f08d047-1686-4177-a547-b8d7061a61e3-image.png
                                2. if I have spaces on the first indent and tab on the second, it gives the TabError:
                                  b5a16ab0-7d55-4085-a96d-78586a1c42cd-image.png

                                And both show me exactly which line the problem is in. You should be able to use that information to fix your code. (Also, Edit > Blank Operations is your friend for making indentation consistent.)

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  NovusOperandi @PeterJones
                                  last edited by

                                  @PeterJones

                                  I normally install updates for Notepad++ as soon as they pop up as available, so I think I was updating directly from 8.9.0 to 8.9.1, but I’m not 100% sure. And no uninstall or deletion of settings was performed beforehand; I just did a direct in-program update.

                                  Good news: my project is up and running again. So, crisis averted. And in the process of making that happen, I think I figured out what went wrong. Some of this was definitely user error on my part, as you’ll see below.

                                  • It’s my theory, that when the program updated, for some reason, it deleted some of my custom settings (which I perhaps didn’t realize were custom, as they’d been in place so long). This might include the Python syntax settings for colors & style, as well as unindent behavior of the backspace button (perhaps indentation settings in general).
                                  • When I tried to re-enable the unindent behavior, I only enabled it under Default, but not under Python, so that may be the source of some of the inconsistent results I was seeing. (Results seem to be consistent now with it enabled under Python.)
                                  • As I was trying to figure things out, and get my settings back to where they were, I was also writing code in between these attempts, so I think that resulted in some of my code having mismatched indentation styles applied: I think this caused the IndentationErrors & TabErrors I was experiencing. (Which, thankfully, are now resolved.) And I think this was also causing havoc with the folding behavior of my code, as now that also seems to be cleared up. (Cross fingers.)
                                  • Thank you for the tip on the View > Show Symbol > Show Space and Tab option. I wasn’t aware that was available. It’s very helpful.
                                  PeterJonesP 1 Reply Last reply Reply Quote 2
                                  • PeterJonesP
                                    PeterJones @NovusOperandi
                                    last edited by

                                    @NovusOperandi said in Notepad++ v8.9.1 Release:

                                    And I think this was also causing havoc with the folding behavior of my code, as now that also seems to be cleared up.

                                    If you believe it’s working, don’t forget to close the Issue at GitHub. If you later have evidence that the folding still isn’t working, you can re-open it.

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

                                      the user had outdated themes, which didn’t have the KEY style for either Langage:INI or Language:Properties.

                                      Were the preinstalled themes out-of-date, or is that in reference to my custom theme? Because I’ve deleted my custom theme files several times within the past year or two and re-customized them from stock, so I would have expected them to be roughly equal to the ones that come with the application. Either way, as much as the italics were bothering me, I’m glad to see the themes are being updated dynamically now. I’m honestly not sure why I assumed it was a regression, I guess it just seemed visually jarring and I didn’t see a changelog entry about it.

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

                                        @Drift91 said in Notepad++ v8.9.1 Release:

                                        the user had outdated themes, which didn’t have the KEY style for either Langage:INI or Language:Properties.

                                        Were the preinstalled themes out-of-date,

                                        Yes. Only stylers.model.xml and themes\DarkModeDefault.xml were guaranteed to have all updates; all other themes were up to the original theme author and/or other volunteers to keep up to date, and volunteer ever took real ownership of them. That’s why I implemented the new feature, to make sure that themes would never get hopelessly out of date again.

                                        I didn’t see a changelog entry about it.

                                        The changes involved in this new feature were announced as:

                                        • v8.8.9 Announcement, Item 8
                                        • v8.9 Announcement, Item 7
                                        • v8.9.1 Announcement, Item 10 (above)
                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        The Community of users of the Notepad++ text editor.
                                        Powered by NodeBB | Contributors