1 write to RenameUserInput
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
49
RenameUserInput
= _viewModel.SmartRenameViewModel is null ? new RenameUserInputTextBox(_viewModel) : new SmartRenameUserInputComboBox(_viewModel);
14 references to RenameUserInput
Microsoft.CodeAnalysis.EditorFeatures (14)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (14)
51
if (
RenameUserInput
is Control renameControl)
58
var token1 = _listener.BeginAsyncOperation(nameof(
RenameUserInput
.GotFocus));
64
RenameUserInput
.Focus();
65
RenameUserInput
.SelectText(_viewModel.StartingSelection.Start, _viewModel.StartingSelection.Length);
66
RenameUserInput
.TextSelectionChanged += RenameUserInput_TextSelectionChanged;
67
RenameUserInput
.GotFocus += RenameUserInput_GotFocus;
73
RenameUserInputPresenter.Content =
RenameUserInput
;
74
RenameUserInput
.PreviewKeyDown += RenameUserInput_PreviewKeyDown;
219
this.
RenameUserInput
.SelectAllText();
229
if (!this.
RenameUserInput
.IsFocused)
234
var start =
RenameUserInput
.TextSelectionStart;
235
var length =
RenameUserInput
.TextSelectionLength;
249
var currentIdentifier =
RenameUserInput
.Text;
257
RenameUserInput
.SelectText(newIdentifier.Length, 0);