Skip to content

Commit

Permalink
Merge pull request #58398 from akhera99/bugs/inline_diagnostics_multi…
Browse files Browse the repository at this point in the history
…_line_error

Inline Diagnostics Multi-Line Error Bug
  • Loading branch information
akhera99 authored Dec 20, 2021
2 parents 5e8d777 + 35b0a04 commit 1c3ac57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ protected override void AddAdornmentsToAdornmentLayer_CallOnlyOnUIThread(Normali
}

// Need to get the SnapshotPoint to be able to get the IWpfTextViewLine
var point = tagMappingSpan.Span.Start.GetPoint(TextView.TextSnapshot, PositionAffinity.Predecessor);
var point = tagMappingSpan.Span.End.GetPoint(TextView.TextSnapshot, PositionAffinity.Predecessor);
if (point == null)
{
continue;
Expand Down

0 comments on commit 1c3ac57

Please sign in to comment.