Page 1 of 1

Changing color of fold header

Posted: Tue Apr 23, 2013 7:16 pm
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

Re: Changing color of fold header

Posted: Tue Jun 04, 2013 6:05 pm
by solewalker
Bump !

Re: Changing color of fold header

Posted: Tue Jun 04, 2013 6:47 pm
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

Re: Changing color of fold header

Posted: Tue Jun 04, 2013 9:12 pm
by solewalker
Thanks for your answer. I will try to look into scintilla

Re: Changing color of fold header

Posted: Tue Jun 04, 2013 9:26 pm
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

Re: Changing color of fold header

Posted: Tue Jun 04, 2013 9:57 pm
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