Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Tooltip' word causes syntax error #25

Open
benit2 opened this issue Sep 17, 2015 · 1 comment
Open

'Tooltip' word causes syntax error #25

benit2 opened this issue Sep 17, 2015 · 1 comment

Comments

@benit2
Copy link

benit2 commented Sep 17, 2015

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
Copy link
Owner

Zinggi commented Sep 17, 2015

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?

@benit2 benit2 changed the title 'Tooltip' word cause syntax error 'Tooltip' word causes syntax error Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants