On Fri, 26 Feb 2010 18:28:24 +0100, detlev <[email protected]> wrote: > On Freitag, 26. Februar 2010, Sourish Basu wrote: >> Hi All, >> >> Is it possible to the list of python keywords that Eric4 highlights >> (such as 'def', 'if', 'else', and so on)? For example, I would like to >> get Eric4 to color 'self', 'True' and 'False' with the same color as, >> for example, 'def' or 'None'. Is it possible to do that? >> >> I used to be able to do that when I used Komodo Edit, but then I >> quite using Komodo Edit for other reasons. > > As far as I know that is not supported by QScintilla.
Just sub-class QsciLexerPython and reimplement keywords(). Phil _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
