Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-25 Thread projetmbc
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
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

Re: [PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread Phil Thompson
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

[PyQt] Probleme with the metho description of QSciScintlla

2009-06-15 Thread projetmbc
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://