15 references to SetSelection
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
314textView.SetSelection(editSpan.ToSnapshotSpan(textView.TextSnapshot));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandlerTests.cs (1)
33view.SetSelection(document.SelectedSpans.Single().ToSnapshotSpan(view.TextBuffer.CurrentSnapshot));
Microsoft.CodeAnalysis.EditorFeatures (7)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
209view.SetSelection(methodNameAtInvocation.Span.ToSnapshotSpan(textSnapshot));
Formatting\FormatCommandHandler.FormatSelection.cs (1)
62args.TextView.SetSelection(currentSelection);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_SelectAllHandler.cs (1)
37view.SetSelection(span);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_TabHandler.cs (1)
42args.TextView.SetSelection(newSelection);
InlineRename\InlineRenameSession.cs (1)
254_triggerView.SetSelection(new SnapshotSpan(triggerSpan.Snapshot, startingSpan));
ReferenceHighlighting\NavigateToHighlightReferenceCommandHandler.cs (1)
88args.TextView.SetSelection(destTag);
Shared\Extensions\ITextViewExtensions.cs (1)
91SetSelection(textView, new SnapshotSpan(start.Position, end.Position), isReversed);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (1)
771textView.SetSelection(trackingSpans.First().GetSpan(textView.TextBuffer.CurrentSnapshot));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
217_textView.SetSelection(new SnapshotSpan(startPoint + start, length));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
GoToDefinition\GoToDefinitionCommandHandlerTests.vb (1)
156view.SetSelection(New SnapshotSpan(snapshot, New Span(index, 1)), isReversed:=reversedSelection)
Rename\RenameCommandHandlerTests.vb (1)
1280view.SetSelection(New SnapshotSpan(view.TextBuffer.CurrentSnapshot, New Span(selectionStart, 2)))
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
EndConstructGeneration\EndConstructTestingHelpers.vb (1)
80textView.SetSelection(span)
EndConstructGeneration\MiscellaneousTests.vb (1)
138textView.SetSelection(New SnapshotSpan(startPoint, length:=2))