Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Customizing colors into dark
eranif:
--- Quote ---Hm, it seems that setting the background for line numbers doesn't work on wxGTK.
--- End quote ---
Strange, this code works for me for all majors OS (including FreeBSD)
Here is a screenshot of how it should look:
Eran
oBFusCATed:
Maybe it is something theme related. Is this screen shot from CodeLite?
eranif:
--- Quote ---Insert Quote
Maybe it is something theme related
--- End quote ---
I have it working on various themes / desktops (KDE, Ubuntu, XFCE) all are behaving the same
--- Quote --- Is this screen shot from CodeLite?
--- End quote ---
Yes
Eran
neurocore:
Aw, thank you, eranif. Thanks for CodeLite too ;)
oBFusCATed:
It turned out that is just a bug in C::B.
The following code causes it:
--- Code: ---void EditorColourSet::Apply(HighlightLanguage lang, cbStyledTextCtrl* control, bool isC)
{
if (!control)
return;
control->StyleClearAll();
--- End code ---
If I comment the last line it works as expected.
@devs: Do you know why we call this function?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version