Re: [pgadmin-support] Color

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

Re: [pgadmin-support] Color

От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Andreas Pflug wrote:

> Donald Fraser wrote:
>
>> I just upgraded to the latest stable release (1.0.2) of pgAdmin III 
>> and noticed that the colour of the SQL text has changed from blue to 
>> black.
>> Is there any way of configuring this so I can select my own colors?
>> Thanks
>> Donald Fraser.
>
> Oh h*ll,
> I've been waiting for such personal color questions.
> No, there's no way at the moment. SQL text will always syntax 
> highlight, any changes you see should be caused by a detected keyword.

Andreas,
I think what Donald is trying to tell is that the highlight seems to be 
broken in 1.0.2.

I've just tried it under Debian and it does not work properly (IMHO):
take a look at http://www.enrici.com/pgadmin/SCREENSHOTS/ (most things 
are black in 1.0.1 / 1.0.2)

Donald, what platform do you run on ? I have no other OS here to test 
pgAdmin3...
Can pgadmin-hackers report the way it looks under other OS/Distro please ?

 From the test I just did, it seems the highlight does not work 
"correctly" since 1.0.1

Any idea ?

BTW, a personal color scheme would be interesting... We could enjoy 
funny snapshots :))

Regards,
Raphaël

Re: [pgadmin-support] Color

От:
"Hiroshi Saito" <saito@inetrt.skcapi.co.jp>
Дата:
Hi Raphaël.

It is a thing due to the change in wxWindows..wxWidget (Scintilla).
Probably, confusion will be caused for a while....

--- src/ui/ctlSQLBox.cpp.orig   Mon Sep 22 15:26:17 2003
+++ src/ui/ctlSQLBox.cpp        Mon Sep 22 15:29:23 2003
@@ -345,7 +345,7 @@
     // SQL Lexer and keywords.
 //    SetLexer(lmPostgreSQL.GetLanguage());
     SetLexer(wxSTC_LEX_SQL);
-    SetKeyWords(0, SQL_KEYWORDS);
+    SetKeyWords(0, SQL_KEYWORDS.MakeLower());

     wxAcceleratorEntry entries[1];
     entries[0].Set(wxACCEL_CTRL, (int)'F', MNU_FIND);

regards,
Hiroshi Saito

----- Original Message -----
From: "Raphaël Enrici" 


>  From the test I just did, it seems the highlight does not work
> "correctly" since 1.0.1
>
> Any idea ?
>
> BTW, a personal color scheme would be interesting... We could enjoy
> funny snapshots :))
>
> Regards,
> Raphaël

FAQ