Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 913 Views 2 Watching
    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.
    • Ag JA Offline
      Ag J
      last edited by

      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

      Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Ag J
        last edited by Alan Kilborn

        @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
        • PeterJonesP Offline
          PeterJones @Ag J
          last edited by

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

          Ag JA 1 Reply Last reply Reply Quote 3
          • Ag JA Offline
            Ag J @PeterJones
            last edited by

            Understood, thank you!

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors