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

No string highlighting with \n #16

Open
yasamprom opened this issue Aug 16, 2022 · 1 comment
Open

No string highlighting with \n #16

yasamprom opened this issue Aug 16, 2022 · 1 comment
Labels

Comments

@yasamprom
Copy link

I have this code:

func f() {
    var s = "abc \n"
}

The problem is that "abc \n" is black (should be green because it is string). Problem appears if I use special symbols like \n.
When I set cursor before this string and then type backspace and space string is highlighted correctly.
However the parsing seems to be correctly in both cases.
Any ideas why this may happen?

@parrt
Copy link
Member

parrt commented Aug 19, 2022

Ah. thanks. I'm not really working on this particular sample anymore but it's good to know. Thank you.

@parrt parrt added the bug label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants