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

[flex] Syntax highlighting breaks after escaped ' #10

Open
bogdanbebic opened this issue Dec 15, 2020 · 2 comments
Open

[flex] Syntax highlighting breaks after escaped ' #10

bogdanbebic opened this issue Dec 15, 2020 · 2 comments

Comments

@bogdanbebic
Copy link

Syntax highlighting reacts to escaped ' as if the ' was not escaped.

Screenshot from VSCode default dark theme:
flex_vscode_ext_issue

@faustinoaq
Copy link
Owner

Hi @bogdanbebic checking and updating my repos here. I got a ton of notifications accumulated for all years I was offline. Lets check it and see if I can fix it in new versions 👍

@bogdanbebic
Copy link
Author

@faustinoaq Any progress on this?

I had some time to look into what might be causing this problem, and I found this rule:

<string>\\(?i:[0-9]{1,3}|x[0-9a-f]{1,2}|.)</string>

This rule seems to escape only the char constants ascii values.
Something similar can probably be written to implement escaping of string quoting to fix this issue

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