Re: [PyQt] Question about QsciLexerCustom

2009-06-12 Thread projetmbc
Sorry but I do not see how to do. What is a minimal structure of the class ? class myLexer(Qsci.QsciLexerCustom): All kinds of clue is welcome. Christophe. Phil Thompson a écrit : On Wed, 10 Jun 2009 15

Re: [PyQt] Question about QsciLexerCustom

2009-06-10 Thread projetmbc
Phil Thompson a écrit : On Wed, 10 Jun 2009 15:12:03 +0200, projetmbc wrote: Hello, I would like to use QsciLexerCustom so as to define my own lexer. The documentation says : "All that is necessary to implement a new lexer is to define appropriate styles and to r

Re: [PyQt] Question about QsciLexerCustom

2009-06-10 Thread Phil Thompson
On Wed, 10 Jun 2009 15:12:03 +0200, projetmbc wrote: > Hello, > I would like to use QsciLexerCustom so as to define my own lexer. The > documentation says : > "All that is necessary to implement a new lexer is to > define appropriate > styles and to re-implement the st

[PyQt] Question about QsciLexerCustom

2009-06-10 Thread projetmbc
Hello, I would like to use QsciLexerCustom so as to define my own lexer. The documentation says : "All that is necessary to implement a new lexer is to define appropriate styles and to re-implement the styleText() method." This sounds very abstract to me. How can I col