[Geany-devel] Selection and colour schemes

Lex Trotman elextr at xxxxx
Sun Jun 3 22:57:54 UTC 2012


[...]

>
> I've committed a fix, and also restored using the default foreground color
> for selections, so the style information can still be seen. You're right to
> enable the default background color, as otherwise with no overrides users
> can't see any selection.
>
> The default is explained here:
> http://www.scintilla.org/ScintillaDoc.html#SCI_SETSELFORE

Ah, the Scintilla default, gotcha.

Cheers
Lex

>
> SCI_SETSELFORE(bool useSelectionForeColour, int colour)
> SCI_SETSELBACK(bool useSelectionBackColour, int colour)
> You can choose to override the default selection colouring with these two
> messages. The colour you provide is used if you set useSelection*Colour to
> true. If it is set to false, the default styled colouring is used and the
> colour argument has no effect.
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel



More information about the Devel mailing list