[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] ruby pats

From: John M. Gabriele
Subject: [Nano-devel] ruby pats
Date: Wed, 5 Jul 2006 19:25:14 -0700 (PDT)

Just noticed that the end part of camelCaseNames were accidentally
getting highlighted as Constants. So, I changed the Constants pattern
as follows:

$ diff ruby.nanorc ruby-mine.nanorc 
< ##
< color brightblue "(\$|@|@@)?[A-Z]+[0-9A-Z_a-z]*"
> color brightblue "\<(\$|@|@@)?[A-Z]+[0-9A-Z_a-z]*"

and it seems to be ok, except now, for Constants that start
with $, @, or @@, those little symbols are (incorrectly) no
longer getting highlighted as part of the constant... not great,
but possibly better than before.

It seems like the symbols ($, @, @@) should be getting colored
using that regex. Why aren't they?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]