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

Fix annotating line endings #131

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

Muscraft
Copy link
Member

There have been a number of problems recently with annotating line endings:

I went ahead and tried my best to fix all of the current problems with annotating line endings, and in doing so, #116 appears to be fixed as well.

The two root problems were that we never really supported highlighting the end of a line in multiline spans, and even in cases where we did support highlighting the end of the line, we only supported highlighting the first of the line endings, if the line ended with \r\n.

@epage epage merged commit b5a0af2 into rust-lang:master Jun 14, 2024
13 checks passed
@Muscraft Muscraft deleted the fix-no-highlght-line-end branch June 14, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants