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://www.riverbankcomputing.com/static/Docs/QScintilla2/classQsciLexerCustom.html
   def description(self, text):
       print 'oki'

   def setStyling(self, lenght, style_bits = 0):
       print '(lenght, style_bits)'
       print (lenght, style_bits)

   def startStyling(self, pos, style_bits = 0):
       print '(pos, style_bits)'
       print (pos, style_bits)


   def styleText(self, start, end):
       print '(start, end)'
       print (start, end)
=====================================

Every kinds of help is welcome.
Christophe.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to