[QScintilla] QScintilla feature request (minor change)

Detlev Offenbach detlev at die-offenbachs.de
Mon Nov 17 20:39:21 GMT 2008


Hi Phil,

can you please change line 2683 of qsciscintilla.cpp 
("SendScintilla(SCI_SETLEXERLANGUAGE, lex->lexer());") to read

	if (qstrcmp(lex->lexer(), "container") == 0)
        {
            SendScintilla(SCI_SETLEXER, SCLEX_CONTAINER);
        } else {
            SendScintilla(SCI_SETLEXERLANGUAGE, lex->lexer());
        }

That makes attaching a custom lexer much, much easier and works for me over 
here.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the QScintilla mailing list