[QScintilla] Lexer for C?

Phil Thompson phil at riverbankcomputing.com
Sun Nov 22 11:10:57 GMT 2015


On 22 Nov 2015, at 10:42 a.m., Shriramana Sharma <samjnaa at gmail.com> wrote:
> 
> Hello.
> 
> From http://pyqt.sourceforge.net/Docs/QScintilla2/annotated.html I
> don't see any separate lexer for C. Do I take it that the CPP lexer is
> to be re-used for C as well? But it would highlight lots of non-C
> keywords and such.
> 
> Kindly advise as to what lexer to use for C.

Use the CPP lexer.

Phil


More information about the QScintilla mailing list