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.
Product Version = NetBeans IDE 7.3 Beta (Build 201210011125) Operating System = Linux version 3.5-trunk-amd64 running on amd64 Java; VM; Vendor = 1.8.0-ea Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b02 I am using / as a numeric divide operator in a Groovy code but the editor colourizes (or sometimes colorizes) the code as though it was a string opening. It treats all characters including end-of-lines as part of the string up to the next /, which is my code is the beginning of a one-line comment.
Created attachment 126693 [details] IDE log
Thanks for the report. Simplest case to reproduce is: int x = 15/5 int y = 10/2 ..everything between those two delimiters is incorrectly colored.
One more note: After pasting the code from comment 2 to the groovy script, the coloring is fine. But after adding one space between "/" and "5", the coloring gets wrong.
Bug still exist in NetBeans 8.2.