Community
    • Login

    Secondary carets not visible with dark theme

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    12 Posts 6 Posters 1.1k 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.
    • Jyri LehtinenJ
      Jyri Lehtinen
      last edited by

      After updating to v.8.6 I was wondering why I couldn’t set multiple carets holding Ctrl as before, but once I tested writing something I realized it still worked, the secondary carets just were the exact same color as the dark theme background (dark grey) so I couldn’t see them.

      As far as I understand there was a fix to enable setting the secondary caret color (github. com/notepad-plus-plus/notepad-plus-plus/issues/14302) but it is not clear to me how to use this option, as the Style Configurator seems to still have only “Caret color” that impacts the primary caret only.

      So please any advice on changing the secodary carets’ color and I’d be really grateful.

      Alan KilbornA 1 Reply Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Jyri Lehtinen
        last edited by Alan Kilborn

        @Jyri-Lehtinen said in Secondary carets not visible with dark theme:

        the Style Configurator seems to still have only “Caret color” that impacts the primary caret only.

        In a fresh 8.6 I see:

        d505c8c8-b87b-4f1f-81a6-da32e8056e39-image.png

        Not sure why this one is spelled color when everything else refers to colour…

        Maybe I should have shown it in dark mode:

        0e04d989-26d1-4b5c-baf4-910fb89d2c6e-image.png

        With dark mode, the carets show up for me:

        9e81e2d8-2f31-4ae3-bed6-735bf7f58f89-image.png

        Jyri LehtinenJ 1 Reply Last reply Reply Quote 1
        • Jyri LehtinenJ
          Jyri Lehtinen @Alan Kilborn
          last edited by

          @Alan-Kilborn That is strange, I don’t see such an option in Style Configurator. I have Notepad++ v8.6 build Nov 23 2023 - 16:58:44

          Jyri LehtinenJ 1 Reply Last reply Reply Quote 0
          • Jyri LehtinenJ
            Jyri Lehtinen @Jyri Lehtinen
            last edited by

            Screenshot 2023-12-10 122749.png

            Scrolling the style list does not reveal anything like “Multi-edit carets color”.

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

              @Jyri-Lehtinen

              You probably need to hand-merge this in. Reference stylers.model.xml and your own stylers.xml and see if you can add the new parameters.

              Jyri LehtinenJ 1 Reply Last reply Reply Quote 2
              • Jyri LehtinenJ
                Jyri Lehtinen @Alan Kilborn
                last edited by

                @Alan-Kilborn Thanks for the advice, will see what I can do.

                As a general request I would prefer that the secondary carets would have lighter grey background when using the dark theme. I think that would be reasonable to implement this to let all dark theme users avoid the need for the change in Style Configurator even when the option is visible there.

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

                  @Jyri-Lehtinen said in Secondary carets not visible with dark theme:

                  have lighter grey background when using the dark theme

                  Maybe show a screenshot of what you like once you get it configured, so others can see what you mean. Change the caret to block mode temporarily for the screenshot (like I did), for maximum impact.

                  1 Reply Last reply Reply Quote 2
                  • M
                    MaxJalon
                    last edited by

                    From the change log:

                    1. Make multi-select background & caret colors customizable.

                    Not on my machine.

                    I found the entry in “stylers.model.xml” and copied it to my stylers.xml but it doesn’t show up in the StyleConfigurator.

                    As of now the multiselcet (column) cursor (caret) is invisible in dark mode.

                    I de-and reinstalled, didn’t change anything.

                    multiselect.jpg

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

                      @MaxJalon said in Secondary carets not visible with dark theme:

                      I found the entry in “stylers.model.xml” and copied it to my stylers.xml but it doesn’t show up in the StyleConfigurator.

                      If you’re using the default Dark Mode theme, you have to put the new XML entries in the themes\DarkModeDefault.xml , not in stylers.xml . (Or, if you haven’t customized your theme, you could just copy DarkModeDefault.xml from the v8.6 portable.)

                      1 Reply Last reply Reply Quote 1
                      • M
                        MaxJalon
                        last edited by

                        Thank you Peter, that did it!

                        I’m happy editing again… :-)

                        1 Reply Last reply Reply Quote 0
                        • JTB Ben_SyncJ
                          JTB Ben_Sync
                          last edited by JTB Ben_Sync

                          EDIT - actually I’ve been using cloud-settings-sync, maybe if NP++ adds new features, I won’t get them because I use my old settings x____x I added the line to my cloud sync themes -> dark-default and it’s syncing now


                          2024 March and Notepad++ dark mode - fresh install latest version still has invisible multi line select characters…

                          Added this into the widget section of dark theme default

                          <WidgetStyle name=“Multi-edit carets color” styleID=“0” fgColor=“40ffff” />

                          Is it possible for this to be added into notepad++ fresh install? seems like a terrible bug hiding the caret - makes multi line editing a stab in the dark…

                          alt text

                          rdipardoR 1 Reply Last reply Reply Quote 0
                          • rdipardoR
                            rdipardo @JTB Ben_Sync
                            last edited by

                            @JTB-Ben_Sync said in Secondary carets not visible with dark theme:

                            Is it possible for this to be added into notepad++ fresh install?

                            As a matter of fact, it was added to all the standard-issue themes in time for the “Anniversary Edition” (8.6.0) last November.

                            Have a look at this related GitHub issue and consult the user’s manual on how to completely refresh your user configs after a feature upgrade.

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