Author Topic: Feature Suggestion: line number color customizability  (Read 6613 times)

Offline Butter-Swimming Butterfly

  • Multiple posting newcomer
  • *
  • Posts: 15
Feature Suggestion: line number color customizability
« 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'.
« Last Edit: February 09, 2019, 03:31:01 am by Eyeball Veins »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Feature Suggestion: line number color customizability
« Reply #1 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...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Feature Suggestion: line number color customizability
« Reply #2 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Butter-Swimming Butterfly

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Feature Suggestion: line number color customizability
« Reply #3 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).
« Last Edit: February 13, 2019, 09:27:18 am by Eyeball Veins »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Feature Suggestion: line number color customizability
« Reply #4 on: February 13, 2019, 09:17:34 am »
Yes, we know... Goto Settings -> Environment -> Colours -> Editor for the global setting
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Butter-Swimming Butterfly

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Feature Suggestion: line number color customizability
« Reply #5 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
« Last Edit: February 13, 2019, 10:19:52 am by Eyeball Veins »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Feature Suggestion: line number color customizability
« Reply #6 on: February 13, 2019, 08:02:36 pm »
Do you need per language setting?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Butter-Swimming Butterfly

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Feature Suggestion: line number color customizability
« Reply #7 on: February 13, 2019, 10:53:24 pm »
No. Thanks for asking.