Re: Syntax highlight colors in ctlSQLBox

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Syntax highlight colors in ctlSQLBox
Дата
Msg-id 46B5D2D3.1010100@postgresql.org
обсуждение исходный текст
Ответ на Syntax highlight colors in ctlSQLBox  (Krzysztof Smigrodzki <ksmigrod@gmail.com>)
Список pgadmin-hackers
Krzysztof Smigrodzki wrote:
> Hello,
>
> On wxGTK under Linux (Ubuntu with Gnome), ctlSQLBox background is always
> white (#FFFFFF), despite me using other default background colour in
> Gnome.
>
> In my opinion the best solution to that problem would be user
> customisation of syntax highlight colours. For example one more tab on
> Options dialog.
>
> I volunteer to add this feature (for 1.10 release).
>
> Any comments, suggestions?

Sounds like a good idea. I will be rewriting th settings management for
the next version, so if you start now, please use code like:

settings->Write(wxT("Foo Color"), fooColor);

and

wxString fooColor = settings->Read(wxT("Foo Color"), defaultVal);

rather than creating accessor functions for each setting in the settings
class.

Thanks, Dave

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Krzysztof Smigrodzki
Дата:
Сообщение: Syntax highlight colors in ctlSQLBox
Следующее
От: Dave Page
Дата:
Сообщение: Re: wxWidgets alert at start