[Eric] Question about LexerPygments

projetmbc projetmbc at club-internet.fr
Fri Jun 12 23:04:10 BST 2009


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

Christophe



More information about the Eric mailing list