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

Commit bc22d90

Browse files
sandyarmstrongmonojenkins
authored andcommitted
[Debugger] Fix tooltips in razor and other projection buffers
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1020677
1 parent 087685f commit bc22d90

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)