On Sat, 2006-05-13 at 06:27 +0100, Matt Salmon wrote:

> So, in this example, looking at "include/SciLexer.h" in the Scintilla
> source, you can find the keyword constants you need - for SQL keywords
> it's SCE_SQL_WORD, or 5.  So, to make your keywords blue:
>  
> scintilla.StyleSetFore(5, Color.Blue);

May be better to include SciLexer.h, than to use it as reference. 

#include <SciLexer.h>

scintilla.StyleSetFore(SCE_SQL_WORD, Color.Blue);

-- 
Iago Rubio

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to