1 write to _textView
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
42
_textView
= textView;
17 references to _textView
Microsoft.CodeAnalysis.EditorFeatures (17)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (17)
44
_textView
.LayoutChanged += TextView_LayoutChanged;
45
_textView
.ViewportHeightChanged += TextView_ViewPortChanged;
46
_textView
.ViewportWidthChanged += TextView_ViewPortChanged;
91
var infoSession = _asyncQuickInfoBroker.GetSession(
_textView
);
129
var span = _viewModel.InitialTrackingSpan.GetSpan(
_textView
.TextSnapshot);
130
var line =
_textView
.GetTextViewLineContainingBufferPosition(span.Start);
139
var top = (desiredTop + height) >
_textView
.ViewportBottom
140
?
_textView
.ViewportBottom - height
143
var left = (desiredLeft + width) >
_textView
.ViewportRight
144
?
_textView
.ViewportRight - width
147
MaxWidth =
_textView
.ViewportRight;
148
MinWidth = Math.Min(DefaultMinWidth,
_textView
.ViewportWidth);
158
_textView
.LayoutChanged -= TextView_LayoutChanged;
159
_textView
.ViewportHeightChanged -= TextView_ViewPortChanged;
160
_textView
.ViewportWidthChanged -= TextView_ViewPortChanged;
163
_textView
.VisualElement.Focus();
256
_textView
.SetSelection(new SnapshotSpan(startPoint + start, length));