#63: Symbol coloring inside brackets incorrect
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: cwilliams
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 0.7.0-d
Severity: normal | Resolution: fixed
Keywords: | Ticket_dependency:
-----------------------------------------+----------------------------------
Changes (by cwilliams):
* resolution: => fixed
* status: assigned => closed
Comment:
I can fix this particular case for now. Long term there's still some weird
edge cases where symbols won't get colored correctly, but to close this
ticket and cover the more common cases, I'll just focus on the common
case.
Symbols are now "closed" by whitespace, periods, and brackets. In reality
symbols should follow the syntax rules better (for instance :[] is
correct, and :abc+def is not). There's a nice psuedo BNF for Ruby here:
http://www.outerbody.com/ruby/ruby-man-1.4/yacc.html
--
Ticket URL: <http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/63>
RDT (RubyEclipse) <http://rubyeclipse.mktec.com>
Eclipse Ruby Plugin