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: i can see them bold black (i.e. they seem like method names) My question is - are they keywords? I've googled and found different results on different sources: http://www.rubygarden.org/faq/entry/show/57?controller_prefix=faq%2F here is private mentioned as keyword, but e.g. http://krijnhoetmer.nl/stuff/ruby/keywords/ says that public, private and protected are not a ruby keywords. So where's the truth? p.s. Martine, you probably know....?!
They are methods defined in the Module which is superclass of Class AFAIK. ==== class Module alias original_private private def private # do nothing end end class B private def not_really_private puts "called" end original_private def really_private puts "never called" end end B.new.not_really_private B.new.really_private ==== So syntax coloring is ok, I think -> INVALID.
Correct, public/private/protected are not keywords. Neither is "include" which surprised me - I originally thought that was a bug in my lexer. Ruby accomplishes a lot using method calls.
thanks for clarification. verified.
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.