Selection backgrounds

17 views
Skip to first unread message

Lex Trotman

unread,
Jun 4, 2012, 9:38:52 PM6/4/12
to scintilla...@googlegroups.com
Hi Neil,

Regarding the selection style the Scintilla docs say that "The default
is to show the selection by changing the background to light gray and
leaving the foreground the same as when it was not selected.".

SCI_SETSELBACK says "If it is set to false, the default styled
colouring is used and the colour argument has no effect.". Does this
use of default refer to the default as defined above, or does it refer
to the background colour if the text was not selected (making the
selection invisible)?

Cheers
Lex

Neil Hodgson

unread,
Jun 5, 2012, 1:02:53 AM6/5/12
to scintilla...@googlegroups.com
Lex Trotman:

> SCI_SETSELBACK says "If it is set to false, the default styled
> colouring is used and the colour argument has no effect.". Does this
> use of default refer to the default as defined above, or does it refer
> to the background colour if the text was not selected (making the
> selection invisible)?

It makes the selection invisible unless the selection foreground is turned on.

Neil

Reply all
Reply to author
Forward
0 new messages