• Login
Community
  • Login

Dark mode: please darken the bright white line after folded code.

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 727 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
    John Liudr
    last edited by Jul 25, 2021, 6:49 PM

    The dark mode is great! Here is one thing that could make it even better:
    Whenever you folder some code, such as a function or a for-loop, you get this bright white (guessing 255,255,255) line all the way across and a plus sign inside a square on the left side. Could this bright white line be darkened in dark mode? If you have lots of these lines and they are really very bright.

    Thanks.

    P 1 Reply Last reply Jul 26, 2021, 1:14 AM Reply Quote 0
    • P
      PeterJones @John Liudr
      last edited by Jul 26, 2021, 1:14 AM

      @John-Liudr ,

      What theme do you have active? Because the folding color is determined by your theme (Style Configurator> Global Styles > Fold xxx ), and the Dark Mode Default theme has reasonable color choices for folding.

      04aba0dd-7fed-48b8-9e6e-00e8f3f4692c-image.png

      • FOLD (inactive fold) color is 112,112,112 (grey)
      • FOLD ACTIVE (active fold) color is 127,159,127
      • FOLD MARGIN (checkered background colors) are FG=(24,24,24), BG=(16,16,16)
      1 Reply Last reply Reply Quote 2
      • J
        John Liudr
        last edited by John Liudr Jul 29, 2021, 10:08 PM Jul 29, 2021, 10:07 PM

        Thanks for your response. I don’t have Fold active but my two other fold settings are both dark enough. But I started experimenting and found this option controls the color of the horizontal line, Default Style:

        d8469345-b6ed-485e-b1d2-7d2abc55450a-image.png

        It was white. I changed it to a darker yellow. If I see other things turn into this color then I’ll have to find other ways to resolve.
        What I meant are the horizontal lines that replace the folded content. Maybe I was not clear about this.

        1 Reply Last reply Reply Quote 0
        • J
          John Liudr
          last edited by Jul 30, 2021, 3:51 PM

          As far as I can tell, this option also affects the search results. It’s no big deal for me.

          P 1 Reply Last reply Jul 30, 2021, 4:09 PM Reply Quote 0
          • P
            PeterJones @John Liudr
            last edited by Jul 30, 2021, 4:09 PM

            @John-Liudr ,

            What I meant are the horizontal lines that replace the folded content.

            Weird. In all my time of using the folding feature of Notepad++, I don’t think it ever hit me that it indicated folded text by a horizontal line in the default-style’s foreground color. I had presumably seen the line, because it’s pretty obvious, but I don’t think I ever thought about it.

            If I see other things turn into this color

            Well, any text that uses the global default color will use that. But a well-defined lexer should have its own DEFAULT entry, and a UDL definitely will – and it doesn’t fold without a lexer or UDL active – so hopefully there isn’t much text in a lexer-or-UDL-active file that doesn’t get styled by the lexer-or-UDL.

            However, given that the folding feature has other entries in the style configurator’s default-style section, you might want to make a feature request (see the FAQ), asking that they add a new Language:Global Styles > Style:Fold Horizontal style whose foreground color sets the color of that line (make sure you include a screenshot of that line) instead of using the default foreground. Because I think it would be a good idea to have that separately-configurable from the default foreground color. But it’s up to you.

            1 Reply Last reply Reply Quote 1
            • J
              John Liudr
              last edited by Aug 2, 2021, 7:09 PM

              @PeterJones said in Dark mode: please darken the bright white line after folded code.:

              a new Language:Global Styles > Style:Fold Horizontal style whose foreground color sets the color of that line

              Thanks @PeterJones !

              Here is my new “feature request” issue:

              https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10313#issue-958429921

              1 Reply Last reply Reply Quote 1
              • J
                Joyce Kane Banned
                last edited by Aug 4, 2021, 1:36 AM

                This post is deleted!
                1 Reply Last reply Reply Quote -3
                3 out of 7
                • First post
                  3/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors