SQL Editor cursor colour

Поиск
Список
Период
Сортировка
Искать

SQL Editor cursor colour

От:
Federico Stafforini <federico@stafforini.com>
Дата:
Hello,

   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.
   Thanks,

Federico Stafforini.

Re: SQL Editor cursor colour

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
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

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
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

FAQ