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