diff options
author | Sandy Armstrong <sandy@xamarin.com> | 2019-11-14 02:05:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 02:05:38 +0300 |
commit | c9fb98dc92c3c6671c962822e5cc2a737225203e (patch) | |
tree | 2546c81f8cd8d67a7b120f3b40fc5cf05ad14e37 /main | |
parent | cb872ea9d3e11063a3e860dfb72db71b042d3cd3 (diff) | |
parent | bc22d9022f3617044b58ea0bde5a5a573b99c2f7 (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')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs | 2 |
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); |