Community
    • 登入

    Notepad++ 7.9.1 Released

    已排程 已置頂 已鎖定 已移動 Announcements
    50 貼文 18 Posters 13.1k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Michael VincentM
      Michael Vincent @Michael Vincent
      最後由 編輯

      @Michael-Vincent said in Notepad++ 7.9.1 Released:

      FOUND IT! Issuing a new PR to fix.

      Issue: 9113
      PR: 9114

      Cheers.

      1 條回覆 最後回覆 回覆 引用 1
      • donhoD
        donho
        最後由 編輯

        Fix integrated:
        https://github.com/notepad-plus-plus/notepad-plus-plus/commit/f91246e312f5b3f69d1bf83e543d03c8f4e545db

        @Michael-Vincent Could you test it?

        Michael VincentM 1 條回覆 最後回覆 回覆 引用 1
        • Michael VincentM
          Michael Vincent @donho
          最後由 編輯

          @donho said in Notepad++ 7.9.1 Released:

          @Michael-Vincent Could you test it?

          I did just before I issued the PR and I certainly will with the AppVeyor build once it finishes - (still building as I type). It was such a stupid mistake, sorry for the troubles.

          Cheers.

          Michael VincentM 1 條回覆 最後回覆 回覆 引用 3
          • Michael VincentM
            Michael Vincent @Michael Vincent
            最後由 編輯

            @donho
            @Michael-Vincent said in Notepad++ 7.9.1 Released:

            I certainly will with the AppVeyor build once it finishes

            I just tested both Release versions x86 and x64:

            Environment: platform=Win32, archi=x86, platform_input=Win32; Configuration: Unicode Release
            Environment: platform=x64, archi=amd64, platform_input=x64; Configuration: Unicode Release

            Both perform as expected!

            I set language to C and did:

            if (test)
                |
            
            if (test) {
                |
            }
            
            if (test)
            {
                |
            }
            

            All behaved as expected. I also set language to C++, Java and Javascript and ran the same typing tests to make sure they behave the same way - and they do.

            Finally, set language to both Perl and PowerShell and did the same above tests and they result in:

            if (test)
            |
            
            if (test) {
                |
            }
            
            if (test)
            {
                |
            }
            

            As expected. NOTE: the first case shows no indent since in both Perl and PowerShell, the { brace is required for the control block to activate auto-indent.

            I tried ALL THE ABOVE in 7.9 as well, and all behavior is consistent between 7.9 and the latest AppVeyor build for all my above test cases (with the exception of PowerShell on 7.9 since adding the original fix in 7.9.1 for PowerShell is what triggered this).

            I believe we have fixed this regression. Again, sorry for the troubles and thank you for the quick response!

            Cheers.

            1 條回覆 最後回覆 回覆 引用 4
            • donhoD
              donho
              最後由 donho 編輯

              No problem, @Michael-Vincent , it was my fault - I didn’t get my code review job done well.

              That said, it’s still a small regression: comparing with the fix of corrupted file by @pnedev, this regression is less important. So I guess I’ll still trigger auto-update for v7.9.1 in about 1 week, if there’s no other critical regression/bug found.

              1 條回覆 最後回覆 回覆 引用 2
              • ZsoltKántorZ
                ZsoltKántor
                最後由 編輯

                This is probably a minor bug, but it would be nice if will be fixed.

                For C and C++ code the Show Indent Guide functionality wrongly displays indent line if the selection statements (if and else) contain only one expression without curly braces.

                Example:

                Indent line for if statement goes until return which is wrong.
                if.png

                Indent line for else statement goes until return which is wrong.
                else.png

                If braces are used the indent line goes until expected
                if_brace.png

                Michael VincentM 2 條回覆 最後回覆 回覆 引用 0
                • Michael VincentM
                  Michael Vincent @ZsoltKántor
                  最後由 編輯

                  @Zsolt-Kántor-0 said in Notepad++ 7.9.1 Released:

                  This is probably a minor bug, but it would be nice if will be fixed.

                  I can confirm. This is also present in 7.9 so no 7.9.1 “fixes” introduced this it would seem.

                  674c7700-876b-41bd-a2f9-bda8ecdbfa04-image.png

                  In fact, I see it as far back as 7.3.3:

                  42a97dfd-461b-4ca0-9d06-d884ecb94717-image.png

                  Cheers.

                  1 條回覆 最後回覆 回覆 引用 1
                  • Michael VincentM
                    Michael Vincent @ZsoltKántor
                    最後由 編輯

                    @Zsolt-Kántor-0 said in Notepad++ 7.9.1 Released:

                    This is probably a minor bug, but it would be nice if will be fixed.

                    Seems like a Scintilla thing for indentation. Testing various settings, it seems SC_IV_LOOKFORWARD works best for all languages despite what the docs say:

                    a35ce6e3-028c-417c-9e95-baa6681ddec9-image.png

                    Cheers.

                    1 條回覆 最後回覆 回覆 引用 2
                    • ZsoltKántorZ
                      ZsoltKántor
                      最後由 編輯

                      @Michael-Vincent

                      Then it should be fixed in Notepad++, maybe?

                      PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                      • PeterJonesP
                        PeterJones @ZsoltKántor
                        最後由 編輯

                        @Zsolt-Kántor-0 said in Notepad++ 7.9.1 Released:

                        @Michael-Vincent

                        Then it should be fixed in Notepad++, maybe?

                        Perhaps. There is a FAQ in this Forum which explains feature requests.

                        However, there is a plugin, ExtSettings, which allows you to change such Scintilla settings without using a scripting environment like the NppExec example that @Michael-Vincent showed. You can install that plugin using Plugins Admin, and this specific setting is controlled by Indentation guide style 550f54de-0300-4d4c-8997-d7a6bb432efe-image.png – you have to hit Close after each change in that dialog to get it to take effect.

                        ZsoltKántorZ 1 條回覆 最後回覆 回覆 引用 2
                        • ZsoltKántorZ
                          ZsoltKántor @PeterJones
                          最後由 ZsoltKántor 編輯

                          @PeterJones said in Notepad++ 7.9.1 Released:

                          Perhaps. There is a FAQ in this Forum which explains feature requests.

                          Thanks for the hints, but this is a bug in my opinion and not a feature request.

                          PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                          • PeterJonesP
                            PeterJones @ZsoltKántor
                            最後由 PeterJones 編輯

                            @Zsolt-Kántor-0 said in Notepad++ 7.9.1 Released:

                            @PeterJones said in Notepad++ 7.9.1 Released:

                            Perhaps. There is a FAQ in this Forum which explains feature requests.

                            Thanks for the hints, but this is a bug in my opinion and not a feature request.

                            And if you had looked at the “FAQ Desk: Feature Request or Bug Report”, you would have seen that bug reports go in the same place as feature requests.

                            This discussion topic (“Notepad++ 7.9.1 Released”) is meant for problems introduced in v7.9.1 that weren’t present in v7.9 (known as “regressions”). If you can prove that this is a regression, then feel free to continue here. Otherwise, the general bug reporting and feature requesting is handled as described in the FAQ. (And really, even if it is a “regression”, at this point, the bug reporting is more likely to get implemented than more discussion here.)

                            Michael VincentM ZsoltKántorZ 2 條回覆 最後回覆 回覆 引用 1
                            • Michael VincentM
                              Michael Vincent @PeterJones
                              最後由 編輯

                              @PeterJones said in Notepad++ 7.9.1 Released:

                              If you can prove that this is a regression,

                              and like my post shows above, this is not a “regression” as this behavior was present as far back as 7.3.3 (and maybe before, that’s just the oldest version I had available to test).

                              Feel free to file a GitHub Issue and continue the discussion there.

                              Cheers.

                              1 條回覆 最後回覆 回覆 引用 2
                              • ZsoltKántorZ
                                ZsoltKántor @PeterJones
                                最後由 編輯

                                @PeterJones said in Notepad++ 7.9.1 Released:

                                If you can prove that this is a regression

                                Unfortunately I’m bad on proving things :(

                                1 條回覆 最後回覆 回覆 引用 0
                                • donhoD
                                  donho
                                  最後由 donho 編輯

                                  @Michael-Vincent said in Notepad++ 7.9.1 Released:

                                  SC_IV_LOOKFORWARD

                                  SC_IV_LOOKFORWARD is set for Python, Coffee script and Haskell 3 languages actually. If you think some languages should be also set to this mode, please let me know. I will consider to add these languages.

                                  Michael VincentM 1 條回覆 最後回覆 回覆 引用 0
                                  • Michael VincentM
                                    Michael Vincent @donho
                                    最後由 編輯

                                    @donho said in Notepad++ 7.9.1 Released:

                                    If you think some languages should be also set to this mode, please let me know. I will consider to add these languages.

                                    I think the argument above is to add languages that don’t require braces {} for control blocks to be added to the list. For example, C/C++ has valid syntax:

                                    if (condition)
                                    |    expression;
                                    |
                                    |
                                    return;
                                    

                                    where the pipes | above show the guidelines with SC_IV_LOOKBOTH. With SC_IV_LOOKFORWARD, C/C++ would show:

                                    if (condition)
                                    |    expression;
                                    
                                    
                                    return;
                                    

                                    which is “probably” more accurate?

                                    I’m not sure how I feel about it - I only noticed since @Zsolt-Kántor-0 brought it up. Maybe I’ll open a GitHub Issue so we can discuss there before making any recommendations for changes?

                                    As discussed above though, this is NOT a 7.9.1 regression - it’s always been this way.

                                    Cheers.

                                    Michael VincentM 1 條回覆 最後回覆 回覆 引用 2
                                    • Michael VincentM
                                      Michael Vincent @Michael Vincent
                                      最後由 Michael Vincent 編輯

                                      @Michael-Vincent said in Notepad++ 7.9.1 Released:

                                      I’ll open a GitHub Issue so we can discuss there before making any recommendations for changes

                                      Issue 9137

                                      AGAIN - this is NOT a regression!

                                      Cheers.

                                      1 條回覆 最後回覆 回覆 引用 1
                                      • donhoD
                                        donho
                                        最後由 donho 編輯

                                        FYI:
                                        Auto-Updater is triggered for v7.9.1.

                                        Mario OlsowskiM 1 條回覆 最後回覆 回覆 引用 0
                                        • Mario OlsowskiM
                                          Mario Olsowski @donho
                                          最後由 編輯

                                          @donho
                                          Hye, i have to/ must congratulate:
                                          np++ is my second home - it works in all thinkable situations.
                                          Although last evening i listen only a problem signatur:
                                          Problemereignisname: BEX64
                                          Anwendungsname: notepad++.exe
                                          Anwendungsversion: 7.9.0.0
                                          Think to install version 791 over version 790 to preserve my customer properties - no matter.
                                          Wonderful - wonderful
                                          m.o. 2020-11-15 04:12 am

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • donhoD
                                            donho
                                            最後由 編輯

                                            @Mario-Olsowski said in Notepad++ 7.9.1 Released:

                                            np++ is my second home

                                            If Notepad++ is not your 1st home, then it’s not good enough.
                                            :)

                                            1 條回覆 最後回覆 回覆 引用 3
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors