OT (Scintilla, not SciTE): change fold margin bgcolor?

121 views
Skip to first unread message

Valentin

unread,
Feb 1, 2017, 5:00:10 PM2/1/17
to scite-i...@googlegroups.com
Hi Neil,

sorry for this OT-ish question, guess there is another list for
Scintilla, but since I already subscribed to this one, it seemed faster
to post here...

Is there a way to change the background color (and maybe also the fore
color of fold symbols?) of the "fold margin"? I'm currently working on a
Qt4+Scintilla-based editor (win-only for now) which also supports
theming and dark themes, therefor changing it would be nice (see
attached screenshot).

I googled for answers and already tried all kind of stuff, but without
success.

Valentin
fold_margin.jpg

Valentin

unread,
Feb 2, 2017, 2:59:26 PM2/2/17
to scite-i...@googlegroups.com
> Is there a way to change the background color (and maybe also the fore
> color of fold symbols?) of the "fold margin"?

Nevermind, I found it by checking the SciTE source code:

SCI_SETFOLDMARGINCOLOUR
SCI_SETFOLDMARGINHICOLOUR

I have no idea why this didn't occur to me earlier. Sorry for the spam.

Valentin

Neil Hodgson

unread,
Feb 2, 2017, 5:36:03 PM2/2/17
to scite-interest
Valentin:

>> Is there a way to change the background color (and maybe also the fore
>> color of fold symbols?) of the "fold margin"?
>
> Nevermind, I found it by checking the SciTE source code:
>
> SCI_SETFOLDMARGINCOLOUR
> SCI_SETFOLDMARGINHICOLOUR

Also see
https://sourceforge.net/p/scintilla/feature-requests/1172/

Neil

Reply all
Reply to author
Forward
0 new messages