Style Configurator - Current Line FOREGROUND Colour - can i enable that easily?
-
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. -
@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). -
@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.
-
Understood, thank you!