[Eric] Question about LexerPygments

Detlev Offenbach detlev at die-offenbachs.de
Fri Jun 12 14:03:03 BST 2009


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 at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric


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


More information about the Eric mailing list