Changing color of fold header

General questions regarding the usage of CodeLite
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Changing color of fold header

Post by solewalker »

For fold option i use "Flatten tree square headers". I see no problem for default or light themes. But when I switch to dark theme (mostly at nights) I face a problem. Fold header is always white and I cant change it. It catches my eyes because its white in dark background.

There is an option to change color of fold margin but no way to change color of fold header. I am providing an image to clarify. My temporary solution is that I disable fold option when I switch to dark mode. I think it would be nice if we could also change the color of fold header like fold margin.

Image
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing color of fold header

Post by solewalker »

Bump !
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing color of fold header

Post by eranif »

Codelite uses an identifiers to select the folding images.
These image are not controlled by codelite, but rather by scintilla.
So either you patch scintilla or wxStyledTextCtrl
Both are not codelite sources

Eran
Make sure you have read the HOW TO POST thread
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing color of fold header

Post by solewalker »

Thanks for your answer. I will try to look into scintilla
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing color of fold header

Post by eranif »

solewalker wrote:Thanks for your answer. I will try to look into scintilla
I did more reading on the subject, but I think that if you can provide a set of images with the proper colors, scintilla allows us to register them and use them instead of the default ones
Again, I did not test it, but I think it should work

Eran
Make sure you have read the HOW TO POST thread
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Changing color of fold header

Post by solewalker »

Thanks for the info. I have not found any kind of image files in scintilla source, sorry I am very noob in scintilla, but will look on the internet, then will see what I get
Post Reply