11 references to SetSelection
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
184
textView.
SetSelection
(renameSpan.ToSnapshotSpan(subjectBuffer.CurrentSnapshot));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandlerTests.cs (1)
30
view.
SetSelection
(document.SelectedSpans.Single().ToSnapshotSpan(view.TextBuffer.CurrentSnapshot));
Microsoft.CodeAnalysis.EditorFeatures (8)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
192
view.
SetSelection
(methodNameAtInvocation.Value.Span.ToSnapshotSpan(textSnapshot));
Formatting\FormatCommandHandler.FormatSelection.cs (1)
61
args.TextView.
SetSelection
(currentSelection);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_SelectAllHandler.cs (1)
35
view.
SetSelection
(span);
InlineRename\InlineRenameSession.cs (1)
242
_triggerView.
SetSelection
(new SnapshotSpan(triggerSpan.Snapshot, startingSpan));
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
256
_textView.
SetSelection
(new SnapshotSpan(startPoint + start, length));
ReferenceHighlighting\NavigateToHighlightReferenceCommandHandler.cs (1)
75
args.TextView.
SetSelection
(destTag);
Shared\Extensions\ITextViewExtensions.cs (2)
90
SetSelection
(textView, new SnapshotSpan(start.Position, end.Position), isReversed);
116
SetSelection
(textView, span, isReversed: false);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (1)
760
textView.
SetSelection
(trackingSpans.First().GetSpan(textView.TextBuffer.CurrentSnapshot));