Using divide calclulation in Eclipse

Hi,

In Eclipse I use a calculation like this:

var myValue = myVar / 100

Because of the slash, in Eclipse the colors of my script are changing, specially when using text between quotes.
That is very confusing.

Is there a way to avoid this?

Martin

Hi Martin,

This is a regression in the editor in 4.1.3.
Marc Boegem already filed a bugreport for this (#214541).

I know, it’s annoying.

OK thanks for reporting Robert

As a workaround you can add 3 slashes at the end of the line, like this:

var myValue = myVar / 100; ///

ROCLASI:
Marc Boegem already filed a bugreport for this (#214541).

Case has been closed as ‘fixed’ so it should be fine again in the next version…

Joas:
As a workaround you can add 3 slashes at the end of the line

And maybe comment them as ```
// FIXME: delete forward slashes


This will enable you to easily trace all the workarounds you're supposed to make now, as soon as this glitch is fixed in a future version.