73 references to GetCaretPoint
Microsoft.CodeAnalysis.CSharp.EditorFeatures (13)
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
66var caretPosition = textView.GetCaretPoint(subjectBuffer);
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (1)
38var caret = args.TextView.GetCaretPoint(args.SubjectBuffer);
CompleteStatement\CompleteStatementCommandHandler.cs (1)
89var caretOpt = args.TextView.GetCaretPoint(args.SubjectBuffer);
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
118var caretOpt = args.TextView.GetCaretPoint(subjectBuffer);
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (1)
130var position = textView.GetCaretPoint(subjectBuffer).Value.Position;
EventHookup\EventHookupCommandHandler_TypeCharCommand.cs (1)
63var caretPoint = textView.GetCaretPoint(subjectBuffer);
EventHookup\EventHookupSessionManager.cs (2)
54var caretPoint = analyzedSession.TextView.GetCaretPoint(analyzedSession.SubjectBuffer); 174var caretPoint = CurrentSession.TextView.GetCaretPoint(CurrentSession.SubjectBuffer);
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
119var position = textView.GetCaretPoint(subjectBuffer).Value.Position;
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
64var caret = args.TextView.GetCaretPoint(args.SubjectBuffer);
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
45var caret = textView.GetCaretPoint(subjectBuffer);
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (1)
48var caret = textView.GetCaretPoint(subjectBuffer);
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
71var caret = textView.GetCaretPoint(subjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures (31)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
70var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (1)
104var caret = args.TextView.GetCaretPoint(args.SubjectBuffer);
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (1)
66var caretPoint = textView.GetCaretPoint(subjectBuffer);
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (6)
82var caretPosition = textView.GetCaretPoint(subjectBuffer) ?? -1; 164: args.TextView.GetCaretPoint(args.SubjectBuffer) ?? -1; 197var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer) ?? -1; 241var caretPosition = args.TextView.GetCaretPoint(subjectBuffer) ?? -1; 277var caretPosition = args.TextView.GetCaretPoint(subjectBuffer) ?? -1; 306var caretPosition = textView.GetCaretPoint(subjectBuffer) ?? -1;
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (1)
75var position = args.TextView.GetCaretPoint(args.SubjectBuffer);
Editor\GoToAdjacentMemberCommandHandler.cs (2)
58var caretPoint = args.TextView.GetCaretPoint(subjectBuffer); 76var caretPoint = args.TextView.GetCaretPoint(subjectBuffer);
ExternalAccess\VSTypeScript\Api\VSTypeScriptExtensions.cs (1)
20=> Editor.Shared.Extensions.ITextViewExtensions.GetCaretPoint(textView, subjectBuffer);
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (1)
48var caretPoint = args.TextView.GetCaretPoint(subjectBuffer);
Formatting\FormatCommandHandler.cs (2)
132var caretPosition = textView.GetCaretPoint(args.SubjectBuffer); 192var newCaretPositionMarker = args.TextView.GetCaretPoint(args.SubjectBuffer);
Formatting\FormatCommandHandler.Paste.cs (1)
29var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
GoToDefinition\AbstractGoToCommandHandler`2.cs (1)
99var caret = args.TextView.GetCaretPoint(subjectBuffer);
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
95args.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)
27var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer); 62var caretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_SelectAllHandler.cs (1)
29var caretPoint = view.GetCaretPoint(subjectBuffer);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_WordDeleteHandler.cs (1)
37var caretPoint = view.GetCaretPoint(subjectBuffer);
IntelliSense\AsyncCompletion\CommitManager.cs (1)
280var caretPositionInBuffer = view.GetCaretPoint(subjectBuffer);
NavigationBar\NavigationBarController_ModelComputation.cs (1)
111var caretPosition = currentView?.GetCaretPoint(_subjectBuffer);
PasteTracking\PasteTrackingPasteCommandHandler.cs (1)
44var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
Shared\Extensions\ITextViewExtensions.cs (1)
254var finalCaretPositionOpt = textView.GetCaretPoint(subjectBuffer);
Tagging\AbstractAsynchronousTaggerProvider.cs (1)
203=> textView?.GetCaretPoint(subjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (5)
Controller.cs (1)
151if (!this.TextView.GetCaretPoint(this.SubjectBuffer).HasValue)
Controller.Session_ComputeModel.cs (1)
35var caretPosition = Controller.TextView.GetCaretPoint(Controller.SubjectBuffer).Value;
Snippets\AbstractSnippetCommandHandler.cs (1)
258var endPositionInSubjectBuffer = textView.GetCaretPoint(subjectBuffer);
SuggestedAction.CaretPositionRestorer.cs (2)
51var point = view.GetCaretPoint(_subjectBuffer); 70var position = tuple.Item1.GetCaretPoint(_subjectBuffer);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
AutomaticCompletion\AbstractAutomaticBraceCompletionTests.cs (3)
67var caret = session.TextView.GetCaretPoint(session.SubjectBuffer).Value; 129var caret = session.TextView.GetCaretPoint(session.SubjectBuffer).Value; 143var caret = session.TextView.GetCaretPoint(buffer).Value;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
SignatureHelp\Controller.cs (1)
151if (!this.TextView.GetCaretPoint(this.SubjectBuffer).HasValue)
SignatureHelp\Controller.Session_ComputeModel.cs (1)
35var caretPosition = Controller.TextView.GetCaretPoint(Controller.SubjectBuffer).Value;
Suggestions\SuggestedActions\SuggestedAction.CaretPositionRestorer.cs (2)
51var point = view.GetCaretPoint(_subjectBuffer); 70var position = tuple.Item1.GetCaretPoint(_subjectBuffer);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (9)
EndConstructGeneration\EndConstructCommandHandler.vb (1)
126Dim position = view.GetCaretPoint(buffer)
EndConstructGeneration\VisualBasicEndConstructGenerationService.vb (1)
144Dim caretPosition = textView.GetCaretPoint(subjectBuffer)
LineCommit\CommitCommandHandler.vb (3)
132Dim oldCaretPoint = args.TextView.GetCaretPoint(args.SubjectBuffer) 156Dim newCaretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer) 184Dim newCaretPosition = textView.GetCaretPoint(subjectBuffer)
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (4)
49Dim caretPointOpt = args.TextView.GetCaretPoint(args.SubjectBuffer) 65Dim caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer).Value 95Dim caretPointOpt = args.TextView.GetCaretPoint(args.SubjectBuffer) 115Dim caretPointOpt = args.TextView.GetCaretPoint(args.SubjectBuffer)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
EndConstructGeneration\EndConstructTestingHelpers.vb (2)
100Assert.Equal(Of Integer)(afterCaretPoint, textView.GetCaretPoint(subjectBuffer).Value.Position) 143Assert.Equal(Of Integer)(caretPosition, textView.GetCaretPoint(subjectBuffer).Value.Position)
Microsoft.VisualStudio.LanguageServices (5)
DebuggerIntelliSense\DebuggerIntellisenseFilter.cs (1)
110var caretPosition = _context.DebuggerTextView.GetCaretPoint(_context.Buffer);
DocumentOutline\DocumentOutlineControl_ModelComputation.cs (1)
167var caretPoint = activeTextView.GetCaretPoint(activeTextView.TextBuffer);
Library\ClassView\AbstractSyncClassViewCommandHandler.cs (1)
45var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer) ?? -1;
Snippets\AbstractSnippetCommandHandler.cs (1)
286var endPositionInSubjectBuffer = textView.GetCaretPoint(subjectBuffer);
ValueTracking\ValueTrackingCommandHandler.cs (1)
87var caretPosition = args.TextView.GetCaretPoint(args.SubjectBuffer);
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Snippets\SnippetCommandHandler.vb (1)
103Dim caretPosition = textView.GetCaretPoint(subjectBuffer).Value.Position