From: | Maga Abdurakhmanov <maqdev(at)gmail(dot)com> |
---|---|
To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: SQL Syntax Highlight Configuration |
Date: | 2010-02-09 21:48:19 |
Message-ID: | 590a95891002091348w500c2ed9if4d6c7877e4a6f07@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
>
>
> * "Element colour x" doesn't mean anything to our users, the text
> should be replaced with a better text (for example "SQL words",
> "Text literals", or something better)
>
>
Anybody can help with this? I've found some description of elements in STC
sources, but still have questions.
Do we really need SCE_SQL_SQLPLUS and SCE_SQL_SQLPLUS_PROMPT ? If do, then I
need some appopriate description for configuration dialog.
Values 0 - 11 are used in pgadmin sources as a 1-12 colour elements
relatively.
Within a bracket's i give my own description. Here is a full list of
elements defined in SQL lexer for STC control:
#define SCE_SQL_DEFAULT 0 (I guess we should use just foregreound color
(don't need to configure)
#define SCE_SQL_COMMENT 1 (multiline SQL comment)
#define SCE_SQL_COMMENTLINE 2 (single line SQL comment)
#define SCE_SQL_COMMENTDOC 3 (SQL doc within a comment)
#define SCE_SQL_NUMBER 4 (number)
#define SCE_SQL_WORD 5 (SQL keyword)
#define SCE_SQL_STRING 6 (double quoted string)
#define SCE_SQL_CHARACTER 7 (single quoted string)
#define SCE_SQL_SQLPLUS 8 (??)
#define SCE_SQL_SQLPLUS_PROMPT 9 (??)
#define SCE_SQL_OPERATOR 10 (operator)
#define SCE_SQL_IDENTIFIER 11 (identifier)
#define SCE_SQL_SQLPLUS_COMMENT 13
#define SCE_SQL_COMMENTLINEDOC 15
#define SCE_SQL_WORD2 16
#define SCE_SQL_COMMENTDOCKEYWORD 17
#define SCE_SQL_COMMENTDOCKEYWORDERROR 18
#define SCE_SQL_USER1 19
#define SCE_SQL_USER2 20
#define SCE_SQL_USER3 21
#define SCE_SQL_USER4 22
#define SCE_SQL_QUOTEDIDENTIFIER 23
From | Date | Subject | |
---|---|---|---|
Next Message | pgAdmin Trac | 2010-02-09 22:27:11 | [pgAdmin III] #135: New CREATE TABLE syntax |
Previous Message | Dave Page | 2010-02-09 10:00:33 | Re: SQL Syntax Highlight Configuration |