diff options
author | Aaron Bockover <abock@microsoft.com> | 2019-07-03 21:00:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 21:00:23 +0300 |
commit | f8ddae1e435926447d3b6f661ef797b9862f2b10 (patch) | |
tree | 69c6e6335735bbf5025f548eda886963220bde80 /main | |
parent | 57decf1912817644871d679605be43371147342f (diff) | |
parent | db0526788835c9d97418fd10eee2347db32cc829 (diff) |
Merge pull request #8076 from mono/backport-pr-8069-to-release-8.2
[release-8.2] Fix 923058: ArgumentOutOfRangeException in GetCharacterBounds
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/ExceptionCaught/ExceptionCaughtAdornmentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/ExceptionCaught/ExceptionCaughtAdornmentManager.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/ExceptionCaught/ExceptionCaughtAdornmentManager.cs index cc99aec7f6..7dc36060eb 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/ExceptionCaught/ExceptionCaughtAdornmentManager.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/ExceptionCaught/ExceptionCaughtAdornmentManager.cs @@ -95,7 +95,7 @@ namespace MonoDevelop.Debugger.VSTextView.ExceptionCaught var span = trackingSpan.GetSpan (textView.TextSnapshot); if (textView.TextViewLines == null) return; - if (!textView.TextViewLines.FormattedSpan.IntersectsWith (span)) + if (!textView.TextViewLines.FormattedSpan.Contains (span.End)) return; try { var charBound = textView.TextViewLines.GetCharacterBounds (span.End); |