Code::Blocks Forums

User forums => Help => Topic started by: newode27 on April 04, 2013, 03:51:36 pm

Title: HOW to change highlight line background?
Post by: newode27 on April 04, 2013, 03:51:36 pm
Hello, just a quicky question, How do I change the background color of the highlight line caret option? I skimmed through the editor settings and I couldn't find what I'm looking for.


(http://i.imgur.com/lBnMRok.png)
Here's what I mean, see that subtle sort of yellow color of the highlight line background? How do I change that to any color?
Title: Re: HOW to change highlight line background?
Post by: Jenna on April 04, 2013, 04:07:45 pm
"Settings -> Editor -> Syntax highlighting -> C/C++ -> Active Line"
Title: Re: HOW to change highlight line background?
Post by: zabzonk on April 04, 2013, 04:09:01 pm
It's "Active Line" in the syntax highlighting options, but you also have to enable "Highlight line under caret" in the general editor settings.
Title: Re: HOW to change highlight line background?
Post by: Jenna on April 04, 2013, 04:14:46 pm
[...] but you also have to enable "Highlight line under caret" in the general editor settings.
Looking at the screenshot, I assume the OP already has it activated.
Title: Re: HOW to change highlight line background?
Post by: zabzonk on April 04, 2013, 04:30:36 pm
Quote
Looking at the screenshot, I assume the OP already has it activated.

Yes, but answers here are surely not aimed solely at the original questioner! Other people may have problems with this and wonder why the highlight is not being displayed.
Title: Re: HOW to change highlight line background?
Post by: newode27 on April 05, 2013, 06:45:16 am
"Settings -> Editor -> Syntax highlighting -> C/C++ -> Active Line"

Thank you very much sir!!!