Gavin Kistner wrote:
On Oct 7, 2004, at 5:57 AM, Jim Menard wrote:
When editing Ruby code, everything after the first "/" in code turns yellow. For example, in the code
class Foo def bletch(num) @foo = num / 12 end end
everything from the "/" to the end of the file is yellow.
Looks to me like it thinks it's a regexp literal.
Probably changing the syntax coloring for regexp literals to require a non-space after them would do it.
Nope. The following could wouldn't work:
foo =~ / space_at_front/
Jim