-
Notifications
You must be signed in to change notification settings - Fork 136
Utf 16 columns #192
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
Utf 16 columns #192
Conversation
Looks good! A couple details: Reviewed 1 of 1 files at r1, 2 of 2 files at r2, 2 of 2 files at r3. src/tokenizer.rs, line 371 at r1 (raw file):
Nit: this "LF" comment was to mirror the former src/tokenizer.rs, line 705 at r2 (raw file):
Please add a comment here and in 4 other places with similar code below to indicate that the remaining cases are ASCII or leading bytes. src/tokenizer.rs, line 378 at r3 (raw file):
This uses Comments from Reviewable |
Yes, nice catch. I believe the places where it is incremented must use wrapping_add; however, there's no need to use wrapping operations in |
@bors-servo r+ Reviewed 1 of 2 files at r5, 2 of 2 files at r6. Comments from Reviewable |
📌 Commit f721368 has been approved by |
Utf 16 columns This series changes columns numbers to be reported in units of UTF-16 characters. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/192) <!-- Reviewable:end -->
☀️ Test successful - status-travis |
This series changes columns numbers to be reported in units of UTF-16 characters.
This change is