[Geany] Python syntax highlighting bug
Nick Treleaven
nick.treleaven at xxxxx
Sat Jul 7 15:43:25 UTC 2007
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
More information about the Users
mailing list