On 24/01/2021 18:20, Phil Thompson wrote:

This is what I need to understand.
https://www.scintilla.org/ScintillaDoc.html#SCI_SETKEYWORDS

The QsciLexer classes are just wrappers around the configuration of the corresponding Scintilla lexers. Those lexers are completely independent and hardcode the meaning of the different values - hence the lack of consistency.

Phil

Yes, now I understand.
It is unfortunate that there is not a "generic" lexer, a bit like it is done in Notepad++, where a few options cover a lot of different use cases.

Cheers

Reply via email to