On Freitag, 12. März 2010, Sourish Basu wrote: > detlev wrote: > On Freitag, 26. Februar 2010, detlev wrote: > > On Freitag, 26. Februar 2010, Phil Thompson wrote: > > 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 > > Thanks for the hint. I'll add it to the wish list. > > > This feature has been implemented and will be part of the next eric5 > snapshot Is this a part of eric4 also? I use python-2.6, so I think I need > to stick to eric4.
It is not part of eric4 at the moment. I haven't decided, if I am going to backport it. However, if somebody else would like to do that and send the patches to me, I would be willing to accept that. Regards, Detlev -- Detlev Offenbach [email protected] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
