[PyQt] Probleme with the metho description of QSciScintlla

Phil Thompson phil at riverbankcomputing.com
Mon Jun 15 20:04:46 BST 2009


On Mon, 15 Jun 2009 20:52:26 +0200, projetmbc <projetmbc at club-internet.fr>
wrote:
> Phil Thompson a écrit :
>> On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
>> <projetmbc at club-internet.fr>
>> wrote:
>>   
>>> Hello,
>>> I'm always trying to make my own lexer but I don't have enough 
>>> informtaion to start easily.
>>>
>>> I have to implement some methods but what have I to do with the method 
>>> description.
>>>     
>>
>> What part of...
>>
>>
http://www.riverbankcomputing.com/static/Docs/QScintilla2/classQsciLexer.html#dd9c20adb43bc38d1a0ca3083ac3e6fa
>>
>> ...is causing you a problem?
>>
>> Phil
> 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


More information about the PyQt mailing list