Details
Description
When using the divide operator there is a wrong displaying of the code line. Everything that follows the divide operator is displayed in the color that is set as 'String color' under Window>Preferences>Groovy>Editor
The effect appeared when using divide as operator / or /= and with regex,e.g. /\w+/ (see attached screenshot)
Issue Links
- duplicates
-
GRECLIPSE-124
Slashy string '/' breaks color coding
-
The string color display continues until the end of the line or the next divide operator, and can occur multiple times in a line. E.g. in the line
the parts "/ 2 /" and "/ 5 /" are in string color.
(Using Eclipse 3.5 and GrEclipse 1.6.1)