32 references to GetCaretPoint
Microsoft.CodeAnalysis.EditorFeatures (32)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
62var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (1)
105var caret = args.TextView.GetCaretPoint(args.SubjectBuffer);
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (1)
63var caretPoint = textView.GetCaretPoint(subjectBuffer);
Copilot\CopilotTaggerProvider.cs (1)
57if (textView.GetCaretPoint(subjectBuffer) is { } caret)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (6)
82var caretPosition = textView.GetCaretPoint(subjectBuffer) ?? -1; 164: args.TextView.GetCaretPoint(args.SubjectBuffer) ?? -1; 195var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer) ?? -1; 238var caretPosition = args.TextView.GetCaretPoint(subjectBuffer) ?? -1; 274var caretPosition = args.TextView.GetCaretPoint(subjectBuffer) ?? -1; 303var caretPosition = textView.GetCaretPoint(subjectBuffer) ?? -1;
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (1)
83var position = args.TextView.GetCaretPoint(args.SubjectBuffer);
Editor\GoToAdjacentMemberCommandHandler.cs (2)
55var caretPoint = args.TextView.GetCaretPoint(subjectBuffer); 73var caretPoint = args.TextView.GetCaretPoint(subjectBuffer);
ExternalAccess\VSTypeScript\Api\VSTypeScriptExtensions.cs (1)
20=> Editor.Shared.Extensions.ITextViewExtensions.GetCaretPoint(textView, subjectBuffer);
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (1)
43var caretPoint = args.TextView.GetCaretPoint(subjectBuffer);
Formatting\FormatCommandHandler.cs (2)
124var caretPosition = textView.GetCaretPoint(args.SubjectBuffer); 184var newCaretPositionMarker = args.TextView.GetCaretPoint(args.SubjectBuffer);
Formatting\FormatCommandHandler.Paste.cs (1)
26var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
87args.TextView.GetCaretPoint(subjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_BackspaceDeleteHandler.cs (2)
26var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer); 38var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_LineStartEndHandler.cs (1)
48var caretPoint = view.GetCaretPoint(subjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (2)
26var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer); 61var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_SelectAllHandler.cs (1)
29var caretPoint = view.GetCaretPoint(subjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_WordDeleteHandler.cs (1)
45var caretPoint = view.GetCaretPoint(subjectBuffer);
IntelliSense\AsyncCompletion\CommitManager.cs (1)
297var caretPositionInBuffer = view.GetCaretPoint(subjectBuffer);
NavigationBar\NavigationBarController.cs (1)
236return currentView?.GetCaretPoint(_subjectBuffer)?.Position;
Organizing\OrganizeDocumentCommandHandler.cs (1)
121var caretPoint = textView.GetCaretPoint(subjectBuffer);
PasteTracking\PasteTrackingPasteCommandHandler.cs (1)
41var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
Shared\Extensions\ITextViewExtensions.cs (1)
253var finalCaretPositionOpt = textView.GetCaretPoint(subjectBuffer);
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
207=> textView?.GetCaretPoint(subjectBuffer);