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.
#196: have a simple code like this: class Foo attr_reader :var attr_writer :var def initialize(value) @var = value end end in editor, on line attr_writer :var is coloring ok, ":var" is colored bold green, but on line attr_reader :var is ":var" colored black.
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.