-
Notifications
You must be signed in to change notification settings - Fork 59
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
Visual Prolog: multiple cases of different styles between \r and \n #83
Comments
[Correction]: all the faulty state changes including line comments are caused by late detection of DOS EOLs |
Character and string literals only differ in there being a single character between the quotes for a |
Perhaps the unrealized intention was to enforce a pedantic limit on the length of isolated escape characters or UTF-8 codepoints. You may also notice the proposed test cases don't iterate every possible combination of verbatim string delimiter. |
I meant |
Committed with addition of Unicode escape example |
Similar to #57, testing LexVisualProlog found mixed styles at CRLF line ends wherever
StyleContext::atLineEnd
is used to find newlines:Namely:
SCE_VISUALPROLOG_STRING_EOL_OPEN
[id 19]), is applied too late:SCE_VISUALPROLOG_STRING_VERBATIM_EOL
[id 22]), is also applied too late:Here are the test cases that currently raise the diagnostics: visualprolog.zip
Note that style ids 13, 14 and 15 are not implemented:
This patch fixes the EOL splitting: 0001-LexVisualProlog-Prefer-MatchLineEnd-to-atLineEnd.diff.txt
The text was updated successfully, but these errors were encountered: