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: | public, private and protected are not colored like keywords | ||
---|---|---|---|
Product: | ruby | Reporter: | Tomas Danek <musilt2> |
Component: | Code | Assignee: | Torbjorn Norbye <tor> |
Status: | VERIFIED INVALID | ||
Severity: | blocker | CC: | mkrauskopf |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2006-12-22 10:55:26 UTC
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. |