[PyQt] Probleme with the metho description of QSciScintlla

projetmbc projetmbc at club-internet.fr
Mon Jun 15 20:16:21 BST 2009


>
>> Indeed I've typed the code given with this message. I have the folowing 
>> Error :
>> " QsciLexerCustom.description() is abstract and must be overridden. "
>>
>> What's wrong ?
>>     
>
> I don't think the error message can be clearer - you need to reimplement
> description() in your sub-class as described in the documentation.
>
> Phil

I've tired to implement that :
=====================
    def description(self, style):
        print '(style)'
        print (style)
        return ''
=====================

Then numbers from 0 to 30 has been catched by the method. What is the 
meaning of this numbers ? Sorry for beeing such a newbie.

Christophe



More information about the PyQt mailing list