This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Symbols are not colored properly | ||
---|---|---|---|
Product: | ruby | Reporter: | Tomas Danek <musilt2> |
Component: | Code | Assignee: | Torbjorn Norbye <tor> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2006-12-20 14:08:16 UTC
Similarly with this code: def nothing end puts :aa, :bb, :cc :aa is not colorized. When having just file with content: puts :aa, :bb, :cc :aa is colorized correctly. Fixed in #198. /cvs/semplice/modules/scripting/ruby/jruby/jruby.diff,v <-- jruby.diff new revision: 1.2; previous revision: 1.1 The bug here was that in the JRuby lexer, which I've modified slightly to return whitespace tokens, I had not updated the commandStart and lex_state variables after seeing a newline character, which is done when the lexer does not return whitespace tokens. The net result was that the state machine ended up taking a different path later on when interpreting the ':'. verified in #208 Reassigning this issue to newly created 'ruby' component. Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build. |