[Geany] Change the color of selected text

Lex Trotman elextr at xxxxx
Wed May 18 01:34:23 UTC 2011


On 18 May 2011 09:53, Lex Trotman <elextr at gmail.com> wrote:
>>> # 3rd selection argument is true to override default foreground
>>> # 4th selection argument is true to override default background
>>> selection=0x000000;0xc0c0c0;false;false
>>>
>>> Edit 0xc0c0c0 to the colour you want and set the last false to true.
>>
>> A weird thing with this is, at least when using the colour schemes support,
>> when you have selected text and then open a modal dialog, the selection
>> colours revert to some default grey colour which causes the OP's issues
>> anyway.  I haven't had time to pin down where the problem comes from, but I
>> think it might be in Scintilla (and/or geany-themes).
>>
>
> Hi Matthew,
>
> I don't think filetypes.common applies outside text in the Scintilla
> window, the normal dialogs and everything else is GTK theming using
> .gtkrc, see the manual for more info.
>

Correction, it is documented in the multiple selection section.  What
is not documented is that it appears that the scintilla selection
becomes an additional selection if the focus is lost.

> Cheers
> Lex
>



More information about the Users mailing list