-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle diag text property length in multiline diags
Previously GetTextPropertyForDiag() assumed it was dealing with a single-line diagnostic. For multiline diagnostics we have three additional cases: - From start of the diagnostic to the end of the line. - Happens on the first line of diagnostic. - From start of the line to the end of the diagnostic. - Happens on the last line of diagnostic. - Whole line - Happens between first and last line of diagnostic.
- Loading branch information
Showing
2 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters