Reproduction Steps
You can simply reproduce this by putting…
print("\z
reproduction step")
…into the script editor.
Expected Behavior
I expect the newline after the escape sequence \z
to not be ignored by lexer and characters after that to be highlighted as string as normal.
Something like this:
Actual Behavior
Characters after \z
with newline gets incorrectly highlighted.
There is no syntax error here (as expected) as this is a valid Luau syntax.
Issue Area: Studio
Issue Type: Other
Impact: Low
Frequency: Constantly