Detlev Offenbach a écrit :
On Mittwoch, 10. Juni 2009, projetmbc wrote:
Helllo,
I would like to know two things :
1. Is this file LexerPygments.py does all the job for using a
personal Pygments highlight with QCsintilla ?
Yes.
2. Is then we have to subclass the class defined in LexerPygments.py
and then to use something like
widgetScintilla.setLexer(Qsci.QsciLexerPygments()) ?
If you want to add a new Pygments lexer, you should add it to the Pygments
sources. All highlighters supported by Pygments are supported by
LexerPygments.
Best regards.
Chruistophe.
_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric
Detlev
Thanks.
Christophe
_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric