jetbrains-plugin-sample icon indicating copy to clipboard operation
jetbrains-plugin-sample copied to clipboard

No string highlighting with \n

Open yasamprom opened this issue 3 years ago • 1 comments

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?

yasamprom avatar Aug 16 '22 10:08 yasamprom

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

parrt avatar Aug 19 '22 00:08 parrt