• Login
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.
  • J
    Jyri Lehtinen
    last edited by Dec 10, 2023, 9:54 AM

    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.

    A 1 Reply Last reply Dec 10, 2023, 10:24 AM Reply Quote 1
    • A
      Alan Kilborn @Jyri Lehtinen
      last edited by Alan Kilborn Dec 10, 2023, 10:29 AM Dec 10, 2023, 10:24 AM

      @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

      J 1 Reply Last reply Dec 10, 2023, 10:26 AM Reply Quote 1
      • J
        Jyri Lehtinen @Alan Kilborn
        last edited by Dec 10, 2023, 10:26 AM

        @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

        J 1 Reply Last reply Dec 10, 2023, 10:29 AM Reply Quote 0
        • J
          Jyri Lehtinen @Jyri Lehtinen
          last edited by Dec 10, 2023, 10:29 AM

          Screenshot 2023-12-10 122749.png

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

          A 1 Reply Last reply Dec 10, 2023, 10:32 AM Reply Quote 0
          • A
            Alan Kilborn @Jyri Lehtinen
            last edited by Dec 10, 2023, 10:32 AM

            @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.

            J 1 Reply Last reply Dec 10, 2023, 11:14 AM Reply Quote 2
            • J
              Jyri Lehtinen @Alan Kilborn
              last edited by Dec 10, 2023, 11:14 AM

              @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.

              A 1 Reply Last reply Dec 10, 2023, 11:17 AM Reply Quote 0
              • A
                Alan Kilborn @Jyri Lehtinen
                last edited by Dec 10, 2023, 11:17 AM

                @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 Dec 12, 2023, 4:36 PM

                  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

                  P 1 Reply Last reply Dec 12, 2023, 5:01 PM Reply Quote 0
                  • P
                    PeterJones @MaxJalon
                    last edited by Dec 12, 2023, 5:01 PM

                    @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 Dec 13, 2023, 9:39 AM

                      Thank you Peter, that did it!

                      I’m happy editing again… :-)

                      1 Reply Last reply Reply Quote 0
                      • J
                        JTB Ben_Sync
                        last edited by JTB Ben_Sync Mar 14, 2024, 11:49 PM Mar 14, 2024, 11:38 PM

                        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

                        R 1 Reply Last reply Mar 15, 2024, 3:29 AM Reply Quote 0
                        • R
                          rdipardo @JTB Ben_Sync
                          last edited by Mar 15, 2024, 3:29 AM

                          @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