I am new to scintilla. I am currently developing a LUA editor and I decided
to use scintilla for adding editing capabilities to the software. I have
looked into the docs but can't seem to enable syntax hi-lighting. Here is
what I have tried:
Enable a lexer using SCI_SETLEXER (I have set it to SCLEX_LUA)
Prepared a list of keywords in an array e.g.
const char keywords[] = "if then else";
::SendMessage(m_hwndScintilla, SCI_SETKEYWORDS, 0,
(LPARAM)keywords);
But this does not enable any sort of syntax hi-lighting. I have tried
looking into SciTE's source code but can't seem to make out the relevant
portions of code :-(. Someone please help me out. Thanks in advance.
Regards,
Zulfiqar Inayat Malik.
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest