Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit c9fb98d

Browse files
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
2 parents cb872ea + bc22d90 commit c9fb98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.VSTextView/QuickInfo/DebuggerQuickInfoSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private async Task EvaluateAndShowTooltipAsync (IAsyncQuickInfoSession session,
152152

153153
#if MAC
154154
var location = new PinnedWatchLocation (textDocument?.FilePath);
155-
var snapshot = view.TextDataModel.DocumentBuffer.CurrentSnapshot;
155+
var snapshot = textBuffer.CurrentSnapshot;
156156
int line, column;
157157

158158
var start = debugInfo.Span.GetStartPoint (snapshot);

0 commit comments

Comments
 (0)