1 write to _viewModel
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
43
DataContext =
_viewModel
= viewModel;
22 references to _viewModel
Microsoft.CodeAnalysis.EditorFeatures.Wpf (22)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (22)
53
RenameUserInput =
_viewModel
.SmartRenameViewModel is null ? new RenameUserInputTextBox(
_viewModel
) : new SmartRenameUserInputComboBox(
_viewModel
);
62
RenameUserInput.SelectText(
_viewModel
.StartingSelection.Start,
_viewModel
.StartingSelection.Length);
111
=>
_viewModel
.SmartRenameViewModel is not null
112
?
_viewModel
.SmartRenameViewModel.SubmitTextOverride
132
var span =
_viewModel
.InitialTrackingSpan.GetSpan(_textView.TextSnapshot);
156
_viewModel
.Dispose();
168
_viewModel
.Submit();
177
_viewModel
.PreviewChangesFlag = Keyboard.Modifiers.HasFlag(ModifierKeys.Shift);
178
_viewModel
.Submit();
183
_viewModel
.Cancel();
189
var lastItem =
_viewModel
.IsExpanded
205
if (
_viewModel
.SmartRenameViewModel is not null)
207
_viewModel
.SmartRenameViewModel.ToggleOrTriggerSuggestions();
231
_viewModel
.IsExpanded = !
_viewModel
.IsExpanded;
254
var buffer =
_viewModel
.InitialTrackingSpan.TextBuffer;
255
var startPoint =
_viewModel
.InitialTrackingSpan.GetStartPoint(buffer.CurrentSnapshot);
263
var smartRenameViewModel =
_viewModel
.SmartRenameViewModel;
272
_viewModel
.IdentifierText = newIdentifier;