• Login
Community
  • Login

Style Configurator - Current Line FOREGROUND Colour - can i enable that easily?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 258 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.
  • A
    Ag J
    last edited by Sep 2, 2024, 12:35 PM

    In the default Style Configurator, the Current Line Background Colour Style option is disabled.
    I’d like to enable that.
    Is it possible to do, or does it require editing the source code?
    If editing the source code is required, can anybody tell me if this would be something simple like uncommenting a line, or if it is a fundamental limitation?
    I am not a professional developer and would waste my time if it requires extensive work, but if it is a simple change I could handle it.
    Thanks for any advice.

    8123a7c9-86c2-47f7-8200-392c69dd121d-image.png

    A P 2 Replies Last reply Sep 2, 2024, 3:45 PM Reply Quote 0
    • A
      Alan Kilborn @Ag J
      last edited by Alan Kilborn Sep 2, 2024, 3:52 PM Sep 2, 2024, 3:45 PM

      @Ag-J said in Style Configurator - Current Line FOREGROUND Colour - can i enable that easily?:

      the Current Line Background Colour Style option is disabled

      By your topic title, and reality, what you meant was foreground color, not background.
      And, it doesn’t appear that current-line foreground color is adjustable (on just that basis, clearly you can change the foreground color of ALL lines, but that isn’t what you’re asking).

      1 Reply Last reply Reply Quote 1
      • P
        PeterJones @Ag J
        last edited by Sep 2, 2024, 4:25 PM

        @Ag-J said in Style Configurator - Current Line FOREGROUND Colour - can i enable that easily?:

        does it require editing the source code?

        It would require editing the source code.

        If editing the source code is required, can anybody tell me if this would be something simple like uncommenting a line, or if it is a fundamental limitation?

        It would be simple if you knew what you were doing. But since it was an intentional design choice by the developer, such a PR (especially without an accompanying issue that the developer gave his stamp of approval on) would likely be summarily rejected. The style is named “Current line background” because it only changes the background color; as such, it intentionally doesn’t want to set the foreground color as well.

        You could put in an official feature request (following the instructinos in our feature-request FAQ), requesting that the “Current line background” style be changed to a “Current line color” style, allowing both foreground and background to be set… but again, I doubt that it would be approved and implemented, because the developer actually had to go to extra effort to only allow background color change for that, which means that he did it for a pretty strong reason, and changing his mind would be a pretty big hurdle to overcome.

        A 1 Reply Last reply Sep 3, 2024, 12:56 PM Reply Quote 3
        • A
          Ag J @PeterJones
          last edited by Sep 3, 2024, 12:56 PM

          Understood, thank you!

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors