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