Thread: SQL Editor cursor colour

SQL Editor cursor colour

From
Federico Stafforini
Date:
Hello,<br /><br />   Is it possible to change the cursor colour in the SQL editor? Selecting a dark background colour
makesthe cursor disappear: it seems to be hardcoded to be black.<br />   Thanks,<br /><br />Federico Stafforini.<br /> 

Re: SQL Editor cursor colour

From
Guillaume Lelarge
Date:
Le 11/10/2010 01:08, Federico Stafforini a écrit :
> [...]
>  Is it possible to change the cursor colour in the SQL editor? Selecting a
> dark background colour makes the cursor disappear: it seems to be hardcoded
> to be black.

There's no way to customize it right now, I guess. It should be possible
to add this in a future release (SetCaretForeground seems the function
to use, SetCaretLineBack could be nice too).


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com


Re: SQL Editor cursor colour

From
Guillaume Lelarge
Date:
Le 11/10/2010 10:16, Guillaume Lelarge a écrit :
> Le 11/10/2010 01:08, Federico Stafforini a écrit :
>> [...]
>>  Is it possible to change the cursor colour in the SQL editor? Selecting a
>> dark background colour makes the cursor disappear: it seems to be hardcoded
>> to be black.
> 
> There's no way to customize it right now, I guess. It should be possible
> to add this in a future release (SetCaretForeground seems the function
> to use, SetCaretLineBack could be nice too).
> 

Patch commited. Thanks for the suggestion.


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com