Phil Thompson a écrit :
On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
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
Phil Thompson a écrit :
Indeed, I've understood that this number are the default lexers. The
following seems to work :
===
def description(self, style):
if style == 7:
return 'myLexer'
return ''
===
Is-it what I'm supposed to d
On Mon, 15 Jun 2009 22:33:50 +0200, projetmbc
wrote:
>>
>> 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
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 newb
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 t
On Mon, 15 Jun 2009 20:52:26 +0200, projetmbc
wrote:
> Phil Thompson a écrit :
>> On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
>>
>> 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 metho
Phil Thompson a écrit :
On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
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
On Mon, 15 Jun 2009 19:02:58 +0200, projetmbc
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
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.
=== My code ===
class monLexer(Qsci.QsciLexerCustom):
# Obtenu patr tatons :
http://