Doesn't look like the current Python decorator syntax is getting recognized. For example, in a foo.py file:
class Foo(object): @classmethod # This is the decorator syntax. def cm(cls): print "A class method. Class is: %s" % cls.__name__
that "@classmethod" should be getting highlighted, but it isn't.
---John
On 07/06/2007 05:12:35 PM, John Gabriele wrote:
Doesn't look like the current Python decorator syntax is getting recognized. For example, in a foo.py file:
class Foo(object): @classmethod # This is the decorator syntax. def cm(cls): print "A class method. Class is: %s" % cls.__name__
that "@classmethod" should be getting highlighted, but it isn't.
I've just added a decorator style for Python in SVN now.
Regards, Nick
On 7/7/07, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 07/06/2007 05:12:35 PM, John Gabriele wrote:
[snip]
I've just added a decorator style for Python in SVN now.
Works great. Thanks Nick.