'Tooltip' word causes syntax error
benit2 opened this issue · 1 comments
benit2 commented
In my code I notice that the use of a variable named "ToolTip" would cause an error in the syntax detection and color the rest of the code as a String. Let's say, in this example, the first apostrophe would not be detected and then the semicolon and "//bar" appear to bee in a string.
ToolTip = new class'Foo';
//bar'bar
Zinggi commented
That is indeed a very strange behaviour.
I'm sorry, but I don't know what's causing this, nor how to fix it.
It's caused by the syntax definition file, but I don't know how this one works, as it wasn't written by me.
However the problem seems to be on this line which gives special highlighting for metadata.
@EliotVU do you know what's going on here?