On Thursday 15 April 2004 8:52 am, Remy C. Cool wrote: > Hello, > > I would like to ad some keywords to the Python lexer used in eric3. > > According to the scintilla documentation there's a SCI_SETKEYWORDS > method to accomplish this. wxWidgets (was wxPython) also defines a > SetKeywords method for the Scintilla control, but I dont' know how to > access this method from pyQT/eric3. > > Any info or examples?
The easiest way is probably to sub-class QextScintillaLexerPython and reimplement the keywords() method. Obviously you then need to change eric to use your new lexer. Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
