1 write to _textView
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
41
_textView
= textView;
17 references to _textView
Microsoft.CodeAnalysis.EditorFeatures (17)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (17)
43
_textView
.LayoutChanged += TextView_LayoutChanged;
44
_textView
.ViewportHeightChanged += TextView_ViewPortChanged;
45
_textView
.ViewportWidthChanged += TextView_ViewPortChanged;
90
var infoSession = _asyncQuickInfoBroker.GetSession(
_textView
);
128
var span = _viewModel.InitialTrackingSpan.GetSpan(
_textView
.TextSnapshot);
129
var line =
_textView
.GetTextViewLineContainingBufferPosition(span.Start);
138
var top = (desiredTop + height) >
_textView
.ViewportBottom
139
?
_textView
.ViewportBottom - height
142
var left = (desiredLeft + width) >
_textView
.ViewportRight
143
?
_textView
.ViewportRight - width
146
MaxWidth =
_textView
.ViewportRight;
147
MinWidth = Math.Min(DefaultMinWidth,
_textView
.ViewportWidth);
157
_textView
.LayoutChanged -= TextView_LayoutChanged;
158
_textView
.ViewportHeightChanged -= TextView_ViewPortChanged;
159
_textView
.ViewportWidthChanged -= TextView_ViewPortChanged;
162
_textView
.VisualElement.Focus();
255
_textView
.SetSelection(new SnapshotSpan(startPoint + start, length));