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.
In Netbeans 6.8 RC2, the code: puts "Hello world!" Only "pu" is highlighted, "ts" is left out. I found that many of the "ts" or "s" suffixies of the method's name have the same problem.
Thanks for the report. Can you please tell whether you use Ruby or JRuby, and which exact version? Also, do you have any other content in the file where you can see this bug? If yes, could you paste the content here. Thanks.
Created attachment 92285 [details] Show part of the screen
I use "Ruby 1.9.1 (2009-07-16 patchlevel 243) [i386-mingw32]" from "http://rubyinstaller.org/" with ruby-debug19 from "http://wiki.github.com/mark-moseley/ruby-debug". When I tried to change back to the default JRuby 1.4, the problem seems to disappear. P.S.: The content of the file is just: puts "Hello world!"
Thanks for the info. Seems to be a bug in the 1.9 parser; JRuby 1.4 runs in 1.8 mode by default so that's why it works with it. I'll try to fix this in the parser, in the meantime if using Ruby 1.8 is an option for you I'd recommend to do that to workaround this.
Created attachment 97031 [details] one more printscreen Have same bug with code on the picture.
Created attachment 97032 [details] ruby 1.9 hash colorize Keys in hash must be colorized as symbols (see third picture)