UnrealScriptIDE
UnrealScriptIDE copied to clipboard
'Tooltip' word causes syntax error
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
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?