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.
This code snippet x = {:class => "hello"} gets lexed incorrectly; ":class" is taken to be a symbol followed by a keyword, rather than a single symbol named :class. This has some bad effects; this is boiled down from a file from Tim Bray which reformats incorrectly. The problem is that "class" is taken to be a structural element which captures its own "end", and so the imbalance causes ever increasing indentation.
Fixed. Checking in src/org/netbeans/modules/ruby/RubyLexer.java; /cvs/scripting/ruby/editing/src/org/netbeans/modules/ruby/RubyLexer.java,v <-- RubyLexer.java new revision: 1.6; previous revision: 1.5 done Checking in manifest.mf; /cvs/scripting/ruby/editing/manifest.mf,v <-- manifest.mf new revision: 1.9; previous revision: 1.8 done
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.