Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAaron Bockover <abock@microsoft.com>2019-07-03 21:00:23 +0300
committerGitHub <noreply@github.com>2019-07-03 21:00:23 +0300
commitf8ddae1e435926447d3b6f661ef797b9862f2b10 (patch)
tree69c6e6335735bbf5025f548eda886963220bde80 /main
parent57decf1912817644871d679605be43371147342f (diff)
parentdb0526788835c9d97418fd10eee2347db32cc829 (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.cs2
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);