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
diff options
context:
space:
mode:
authorSandy Armstrong <sandy@xamarin.com>2019-11-14 02:05:38 +0300
committerGitHub <noreply@github.com>2019-11-14 02:05:38 +0300
commitc9fb98dc92c3c6671c962822e5cc2a737225203e (patch)
tree2546c81f8cd8d67a7b120f3b40fc5cf05ad14e37 /main/src/addins
parentcb872ea9d3e11063a3e860dfb72db71b042d3cd3 (diff)
parentbc22d9022f3617044b58ea0bde5a5a573b99c2f7 (diff)
Merge pull request #9292 from mono/backport-pr-9291-to-release-8.4
[release-8.4] [Debugger] Fix tooltips in razor and other projection buffers
Diffstat (limited to 'main/src/addins')
-rw-r--r--main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs
index 78a482c692..a75f91f7aa 100644
--- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs
+++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs
@@ -152,7 +152,7 @@ namespace MonoDevelop.Debugger.VSTextView.QuickInfo
#if MAC
var location = new PinnedWatchLocation (textDocument?.FilePath);
- var snapshot = view.TextDataModel.DocumentBuffer.CurrentSnapshot;
+ var snapshot = textBuffer.CurrentSnapshot;
int line, column;
var start = debugInfo.Span.GetStartPoint (snapshot);