Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Butter-Swimming Butterfly on February 09, 2019, 02:39:55 am

Title: Feature Suggestion: line number color customizability
Post by: Butter-Swimming Butterfly on February 09, 2019, 02:39:55 am
What do you think about adding the ability to change text color and background color for line numbers within Settings : Editor : Margins and caret? In Code::Blocks 17.12 (current version), the left margin inherits the background and (?) foreground colors from the OS's color scheme. We may want to add a checkbox for optionally disabling Code::Block's current behavior. The label might be 'Use custom colors', or alternatively: 'Use system default colors'.
Title: Re: Feature Suggestion: line number color customizability
Post by: BlueHazzard on February 09, 2019, 11:25:02 am
You can change the color of the caret and current line in Settings->Environment->Color

We know that his is not the best place to set this setting, also because if you change the color for syntax highlighting the caret stays the same old color. But there is not time to rework the whole coloring system...
Title: Re: Feature Suggestion: line number color customizability
Post by: oBFusCATed on February 09, 2019, 11:42:20 am
Eyeball Veins: Do you want this per language type? Currently it is possible to change it globally, for all languages, only.
Title: Re: Feature Suggestion: line number color customizability
Post by: Butter-Swimming Butterfly on February 13, 2019, 08:59:37 am
I'm talking about the line numbers (same area where you can place breakpoints and bookmarks); not the lines themselves (file content).
Title: Re: Feature Suggestion: line number color customizability
Post by: oBFusCATed on February 13, 2019, 09:17:34 am
Yes, we know... Goto Settings -> Environment -> Colours -> Editor for the global setting
Title: Re: Feature Suggestion: line number color customizability
Post by: Butter-Swimming Butterfly on February 13, 2019, 09:28:26 am
Yes, we know... Goto Settings -> Environment -> Colours -> Editor for the global setting

There we go. I swear I've looked over Goto Settings -> Environment -> Colours several times before. Thank you ;D
Title: Re: Feature Suggestion: line number color customizability
Post by: oBFusCATed on February 13, 2019, 08:02:36 pm
Do you need per language setting?
Title: Re: Feature Suggestion: line number color customizability
Post by: Butter-Swimming Butterfly on February 13, 2019, 10:53:24 pm
No. Thanks for asking.