• Login
Community
  • Login

Notepad++ v8.6 Release Candidate

Scheduled Pinned Locked Moved Announcements
20 Posts 5 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.
  • X
    xomx @donho
    last edited by Nov 19, 2023, 10:18 AM

    @donho
    Omitted intentionally?
    https://github.com/notepad-plus-plus/wingup/pull/48

    D 1 Reply Last reply Nov 20, 2023, 6:02 PM Reply Quote 1
    • M
      mkupper @donho
      last edited by Nov 19, 2023, 4:36 PM

      @donho
      I also noticed that the plugins admin does not include Columns++. Maybe @Coises just missed the cutoff on the plugins list ?

      1 Reply Last reply Reply Quote 0
      • M
        mkupper @donho
        last edited by Nov 20, 2023, 1:51 AM

        @donho Here is a possible regression - When I use the arrow keys to move the cursor Notepad++ is acting like it’s in column mode though the status line says I’m not. Maybe I’m activating multi-edit, whatever that is?

        For repro I’m using v8.6 (64-bit) portable but I also saw the same thing in v8.6 x32 installed and v8.6 x32 portable.

        1 1 1 1
        2
        3 3 3 3
        4
        
        abc xyz
        abc xyz
        abc xyz
        abc xyz
        
        • I put the cursor after the first abc and then while holding Alt+Shift I did down arrow three time. So far it looks good with a 4x0 column according to the status line.
        • I then did an up-arrow. The status line says I’m out of column mode but the 4-line high “cursor” moved up. I did up-arrow a few more times and then started doing right arrow. The cursor remained at 4 lines but as I moved right the cursor fragments. I think I lost one as I see three flashing.

        Esc exits the multi-cursor mode.

        With v8.5.8 the first part works to create a 4x0 column. When I do the first up-arrow it exits column mode and has a single cursor, which is what I am used to.

        Notepad++ v8.6 (64-bit)
        Build time : Nov 18 2023 - 00:43:50
        Path : c:\npp\npp860-RC1\notepad++.exe
        Command Line :
        Admin mode : OFF
        Local Conf mode : ON
        Cloud Config : OFF
        OS Name : Windows 11 Home (64-bit)
        OS Version : 22H2
        OS Build : 22621.2715
        Current ANSI codepage : 1252
        Plugins :
        mimeTools (2.9)
        NppConverter (4.5)
        NppExport (0.4)

        D A 2 Replies Last reply Nov 20, 2023, 6:04 PM Reply Quote 0
        • M
          mkupper @donho
          last edited by Nov 20, 2023, 6:09 AM

          @donho Here’s another column mode related regression that does not happen in v8.5.8

          I was looking over some old notes at a series of JPEG file names and their sizes. I saw:

          768NBSB×NBSB1024
          768NBSB×NBSB1024
          768NBSB×NBSB1024
          768NBSB×NBSB1024

          I did not need the NBSB and so did a column select of the first NBSB in all four lines and hit Del. The NBSP were replaced with xA0. It is a UTF-8 encoded text file meaning it’s encoded as \xC2\xA0 I did not test using Del with other multi-byte Unicode sequences.

          Using backspace to column delete the NBSP is okay. Using Del in non-column mode to delete the NBSP is ok.

          In the example image below I column-deleted the first NBSP on the first two lines.

          column-delete.png

          D 1 Reply Last reply Nov 20, 2023, 6:16 PM Reply Quote 1
          • D
            donho @xomx
            last edited by Nov 20, 2023, 6:02 PM

            @xomx said in Notepad++ v8.6 Release Candidate:

            Omitted intentionally?
            https://github.com/notepad-plus-plus/wingup/pull/48

            It’s by forgetting. Sorry about that.
            It will be in v8.6, or in v8.6.1, I’ll see.

            @mkupper said in Notepad++ v8.6 Release Candidate:

            I also noticed that the plugins admin does not include Columns++. Maybe @Coises just missed the cutoff on the plugins list ?

            Then it will be in v8.6.1

            1 Reply Last reply Reply Quote 0
            • D
              donho @mkupper
              last edited by donho Nov 20, 2023, 6:05 PM Nov 20, 2023, 6:04 PM

              @mkupper

              With v8.5.8 the first part works to create a 4x0 column. When I do the first up-arrow it exits column mode and has a single cursor, which is what I am used to.

              It’s a regression, but a minor one.
              Could you create an issue on GitHub and ping me please?
              It’ll be fixed in the next version (v8.6.1).

              1 Reply Last reply Reply Quote 0
              • D
                donho @mkupper
                last edited by donho Nov 20, 2023, 7:54 PM Nov 20, 2023, 6:16 PM

                @mkupper said in Notepad++ v8.6 Release Candidate:

                I did not need the NBSB and so did a column select of the first NBSB in all four lines and hit Del. The NBSP were replaced with xA0. It is a UTF-8 encoded text file meaning it’s encoded as \xC2\xA0 I did not test using Del with other multi-byte Unicode sequences.

                I cannot reproduce the issue you report at all.
                Is anyone here can reproduce it?

                OK, I misunderstand it.
                What’s the Hex value of NBSB? So I can try to reproduce it.

                P 2 Replies Last reply Nov 20, 2023, 6:46 PM Reply Quote 0
                • A
                  Alan Kilborn @mkupper
                  last edited by Nov 20, 2023, 6:20 PM

                  @mkupper said in Notepad++ v8.6 Release Candidate:

                  With v8.5.8 the first part works to create a 4x0 column. When I do the first up-arrow it exits column mode and has a single cursor, which is what I am used to.

                  But this is NOT true with 8.5.8 and BetterMultiselection plugin installed and enabled. With that, the first up-arrow keeps the multiple carets; just moving them (what the “up” is telling it to do). It takes an Esc press to get back to one caret.

                  I’m not saying that the plugin is doing it totally correctly, but, it may be what users of the plugin have gotten used to as the “correct” behavior in that situation.

                  1 Reply Last reply Reply Quote 1
                  • P
                    PeterJones @donho
                    last edited by Nov 20, 2023, 6:46 PM

                    @donho said in Notepad++ v8.6 Release Candidate:

                    Is anyone here can reproduce it?

                    Yes, I can reproduce (though at first I couldn’t) – maybe like me, @donho did a 4x1 column selection instead of 4x0 column selection:

                    Step 1: column selection, showing it’s one character wide:
                    f393cd28-fc36-4f4a-a823-91e24d189232-image.png

                    Step 2: hit Del/Delete key: it deletes the whole NBSP, without leaving
                    55654be0-846f-43a3-b6d5-eca0fc1a38b4-image.png

                    Confirm: View > Show Symbol is showing all characters, so it’s not just hiding something:
                    6293f7d3-e55f-4409-9032-2eeee2b0b8b7-image.png

                    Original Conclusion: thought I could not reproduce. But as I was re-reading @mkupper’s post, I wondered if I misinterpreted.

                    Undo, so it’s back to the original

                    Then Step 1: do a 4x0 zero-width column selection
                    968616d3-52b0-455b-89c1-6e9a6716347b-image.png

                    Step 2: Del/Delete =>
                    6633e526-beed-467b-99a1-806a5253ff2a-image.png

                    Confirmed the bug report. With a 0-width column selection, hitting Del before NBSP broke it into its constituent bytes and just deleted one byte rather than one character.

                    Tried with some accented characters (2 bytes each) and then some smilies (with 3-4 bytes each):

                    Before: 454962ba-e43c-437e-a141-30a6da6c2172-image.png
                    02dae62e-ae3b-466f-95be-7d736ac51bba-image.png
                    After hitting Del once: 6593397c-a63d-4cbb-8ae3-30bfcea33dc8-image.png
                    bab1e034-d871-4e21-8d65-501b774bf9c1-image.png

                    So it’s not just NBSP. With a 0-width column selection, hitting Del when the next character is a multi-byte UTF-8 character causes it to delete only the first byte rather than the whole character.

                    1 Reply Last reply Reply Quote 3
                    • P
                      PeterJones @donho
                      last edited by Nov 20, 2023, 8:42 PM

                      @donho said in Notepad++ v8.6 Release Candidate:

                      What’s the Hex value of NBSB? So I can try to reproduce it.

                      @mkupper’s NBSB was just a typo for NBSP; see the right value in his screenshot

                      NBSP is the non-breaking space, at U+00A0 , which is UTF-8 encoded as the two bytes c2a0.

                      D 1 Reply Last reply Nov 21, 2023, 8:10 PM Reply Quote 4
                      • D
                        donho @PeterJones
                        last edited by Nov 21, 2023, 8:10 PM

                        @PeterJones @mkupper
                        Please check the fix:
                        https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14384

                        P 1 Reply Last reply Nov 21, 2023, 8:54 PM Reply Quote 2
                        • P
                          PeterJones @donho
                          last edited by Nov 21, 2023, 8:54 PM

                          @donho ,

                          I first tried with the “Notepad++.MSVC.x64.Debug” artifact: I loaded my example file from yesterday, did the zero-width selection, and hit Delete, and that caused an MSVC assertion error:
                          4bc95009-8a21-4c22-88b2-a51d51805719-image.png

                          … But as I was writing this reply, I realized that I probably don’t have everything set up right for DEBUG builds, so I thought I would try the RELEASE build:

                          When I run with the “Notepad++.MSVC.x64.Release” artifact, the zero-width column selection followed by Del works as expected on the multi-byte UTF-8 characters. So the fix looks good to me. But you should probably wait for @mkupper to confirm as well, because he might have a different sequence, which may or may not behave the same as my experiment.

                          A D 2 Replies Last reply Nov 21, 2023, 9:16 PM Reply Quote 1
                          • A
                            Alan Kilborn @PeterJones
                            last edited by Alan Kilborn Nov 21, 2023, 9:37 PM Nov 21, 2023, 9:16 PM

                            @PeterJones said in Notepad++ v8.6 Release Candidate:

                            I realized that I probably don’t have everything set up right for DEBUG builds

                            There is no special setup for running a Debug build, so you are set up correctly. :-)

                            The problem is: Someone at some time wrote some poor assertions, and now they just get in the way of things. OR…the assertions were good at the time written, but now other things have changed, and no one maintained the assertions, so now they aren’t so good. :-(

                            1 Reply Last reply Reply Quote 0
                            • D
                              donho @PeterJones
                              last edited by Nov 21, 2023, 10:24 PM

                              @PeterJones said in Notepad++ v8.6 Release Candidate:

                              I first tried with the “Notepad++.MSVC.x64.Debug” artifact: I loaded my example file from yesterday, did the zero-width selection, and hit Delete, and that caused an MSVC assertion error:

                              Could you share your example file here please?

                              P 1 Reply Last reply Nov 21, 2023, 10:27 PM Reply Quote 0
                              • P
                                PeterJones @donho
                                last edited by PeterJones Nov 21, 2023, 10:29 PM Nov 21, 2023, 10:27 PM

                                @donho said in Notepad++ v8.6 Release Candidate:

                                Could you share your example file here please?

                                768 × 1024
                                768 × 1024
                                768 × 1024
                                768 × 1024
                                U+C0	À	À
                                U+C1	Á	Á
                                U+C2	Â	Â
                                U+C3	Ã	Ã
                                U+C4	Ä	Ä
                                U+C5	Å	Å
                                * ☺ `U+2640`       SMILE        ☺
                                * ☹ `U+2639`       FROWN       ☹
                                * 😃 `U+1F603`      OPEN        😃
                                * 😉 `U+1F609`      WINK        😉
                                * 😐 `U+1F610`      NEUTRAL     😐
                                * 😜 `U+1F61C`      TongueOut   😜
                                * 😲 `U+1F632`      ASTONISHED  😲
                                

                                update: the tabs and NBSP didn’t come through, so here it is base64-encoded using the MIME Tools plugin:

                                NzY4wqDDl8KgMTAyNA0KNzY4wqDDl8KgMTAyNA0KNzY4wqDDl8KgMTAyNA0KNzY4wqDDl8KgMTAyNA0KVStDMAnDgAnDgA0KVStDMQnDgQnDgQ0KVStDMgnDggnDgg0KVStDMwnDgwnDgw0KVStDNAnDhAnDhA0KVStDNQnDhQnDhQ0KKiDimLogYFUrMjY0MGAgICAgICAgU01JTEUgICAgICAgIOKYug0KKiDimLkgYFUrMjYzOWAgICAgICAgRlJPV04gICAgICAg4pi5DQoqIPCfmIMgYFUrMUY2MDNgICAgICAgT1BFTiAgICAgICAg8J+Ygw0KKiDwn5iJIGBVKzFGNjA5YCAgICAgIFdJTksgICAgICAgIPCfmIkNCiog8J+YkCBgVSsxRjYxMGAgICAgICBORVVUUkFMICAgICDwn5iQDQoqIPCfmJwgYFUrMUY2MUNgICAgICAgVG9uZ3VlT3V0ICAg8J+YnA0KKiDwn5iyIGBVKzFGNjMyYCAgICAgIEFTVE9OSVNIRUQgIPCfmLINCg
                                
                                D 1 Reply Last reply Nov 21, 2023, 10:38 PM Reply Quote 1
                                • D
                                  donho @PeterJones
                                  last edited by donho Nov 21, 2023, 10:39 PM Nov 21, 2023, 10:38 PM

                                  @PeterJones said in Notepad++ v8.6 Release Candidate:

                                  update: the tabs and NBSP didn’t come through, so here it is base64-encoded using the MIME Tools plugin:

                                  Hmm… using debug built locally binary, with 0 length column mode selection in front of all special chars then DEL - no assertion.

                                  Could you provide the accurate instructions to reproduce the assertion please?

                                  P 1 Reply Last reply Nov 21, 2023, 11:08 PM Reply Quote 0
                                  • P
                                    PeterJones @donho
                                    last edited by PeterJones Nov 21, 2023, 11:08 PM Nov 21, 2023, 11:08 PM

                                    @donho ,

                                    I found the problem on that. When I got the assertion error, I was still using a corrupted version of my testfile that had some of the NBSP as a single xA0 instead.

                                    I can also reproduce the error by pasting in this base64 and decoding it:

                                    NzY4oMOXwqAxMDI0DQo3Njigw5fCoDEwMjQNCjc2OKDDl8KgMTAyNA0KNzY4oMOXwqAxMDI0DQpVK0MwCcOACcOADQpVK0MxCcOBCcOBDQpVK0MyCcOCCcOCDQpVK0MzCcODCcODDQpVK0M0CcOECcOEDQpVK0M1CcOFCcOFDQoqIOKYuiBgVSsyNjQwYCAgICAgICBTTUlMRSAgICAgICAg4pi6DQoqIOKYuSBgVSsyNjM5YCAgICAgICBGUk9XTiAgICAgICDimLkNCiog8J+YgyBgVSsxRjYwM2AgICAgICBPUEVOICAgICAgICDwn5iDDQoqIPCfmIkgYFUrMUY2MDlgICAgICAgV0lOSyAgICAgICAg8J+YiQ0KKiDwn5iQIGBVKzFGNjEwYCAgICAgIE5FVVRSQUwgICAgIPCfmJANCiog8J+YnCBgVSsxRjYxQ2AgICAgICBUb25ndWVPdXQgICDwn5icDQoqIPCfmLIgYFUrMUY2MzJgICAgICAgQVNUT05JU0hFRCAg8J+Ysg0K
                                    

                                    So the error is unrelated to the column-delete, and instead related to the DEBUG-build’s handling of invalid UTF-8 sequences in certain unusual situations. (I don’t think it’s critical that a debug build has difficuly with invalid UTF-8. I verified that the v8.6-RC build and the RELEASE build on this PR don’t do anything unpleasant under the same circumstances. Unless you want to make the DEBUG build more robust against invalid UTF-8, I’d probably recommend not worrying about it.)

                                    D 1 Reply Last reply Nov 21, 2023, 11:13 PM Reply Quote 2
                                    • D
                                      donho @PeterJones
                                      last edited by Nov 21, 2023, 11:13 PM

                                      @PeterJones

                                      Thank you for the detail explanation.
                                      I will do a RC2 immediately.

                                      D 1 Reply Last reply Nov 22, 2023, 2:13 AM Reply Quote 2
                                      • D donho unpinned this topic on Nov 22, 2023, 2:11 AM
                                      • D
                                        donho @donho
                                        last edited by donho Nov 22, 2023, 2:15 AM Nov 22, 2023, 2:13 AM

                                        Notepad++ v8.6 Release Candidate 2 is available here:
                                        https://community.notepad-plus-plus.org/topic/25158/notepad-v8-6-release-candidate-2

                                        The regression of DEL is fixed in RC2.

                                        @xomx
                                        https://github.com/notepad-plus-plus/wingup/pull/48 is included.

                                        1 Reply Last reply Reply Quote 3
                                        • D donho locked this topic on Nov 22, 2023, 2:14 AM
                                        11 out of 20
                                        • First post
                                          11/20
                                          Last post
                                        The Community of users of the Notepad++ text editor.
                                        Powered by NodeBB | Contributors