8 references to TryMoveCaretToAndEnsureVisible
Microsoft.CodeAnalysis.EditorFeatures (8)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (1)
200
textView.
TryMoveCaretToAndEnsureVisible
(caretPosition.GetContainingLine().End);
ExternalAccess\VSTypeScript\Api\VSTypeScriptExtensions.cs (1)
23
=> Editor.Shared.Extensions.ITextViewExtensions.
TryMoveCaretToAndEnsureVisible
(textView, point);
ExtractMethod\ExtractMethodCommandHandler.cs (1)
191
view.
TryMoveCaretToAndEnsureVisible
(new SnapshotPoint(textSnapshot, methodNameAtInvocation.Value.Span.End));
Formatting\FormatCommandHandler.cs (1)
195
args.TextView.
TryMoveCaretToAndEnsureVisible
(oldCaretPosition);
Formatting\FormatCommandHandler.FormatSelection.cs (1)
62
args.TextView.
TryMoveCaretToAndEnsureVisible
(currentSelection.End, ensureSpanVisibleOptions: EnsureSpanVisibleOptions.MinimumScroll);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_TabHandler.cs (1)
41
args.TextView.
TryMoveCaretToAndEnsureVisible
(newSelection.Start);
IntelliSense\AsyncCompletion\CommitManager.cs (2)
285
view.
TryMoveCaretToAndEnsureVisible
(new SnapshotPoint(updatedCurrentSnapshot, change.NewPosition.Value));
300
view.
TryMoveCaretToAndEnsureVisible
(new SnapshotPoint(subjectBuffer.CurrentSnapshot, mappedSpan.Start.Position + textChange.NewText?.Length ?? 0));