[Lazarus] SynEdit - SQL highlighter with $ in keywords

Gabor Boros mlnglsts at bgss.hu
Sun Nov 10 14:33:03 CET 2019


Hi All,

I try to extend TSynSQLSyn with keyword lists of Firebird 2.5, 3.0 and 
4.0. Every keyword included in one list/version and used as tKey (e.g. 
sqlFirebird30: EnumerateKeywords(Ord(tkKey), Firebird30KW, IdentChars, 
@DoAddKeyword);). Some keywords contains a $ sign (RDB$DB_KEY, 
RDB$GET_CONTEXT, RDB$RECORD_VERSION, RDB$SET_CONTEXT). If I try to use 
the new highlighters got "Keyword "RDB" already in list with value 
"sqlFirebird30"". (I tried with actual trunk.) Any idea why and how to 
solve the problem?

Gabor


More information about the lazarus mailing list