10 references to GetPoint
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
CompleteStatement\CompleteStatementCommandHandler.cs (3)
218var newCaret = args.SubjectBuffer.CurrentSnapshot.GetPoint(newCaretPosition); 330targetPosition = caret.Snapshot.GetPoint(((DoStatementSyntax)statementNode).CloseParenToken.Span.End); 386SnapshotPoint GetCaretAtPosition(int position) => originalCaret.Snapshot.GetPoint(position);
Microsoft.CodeAnalysis.EditorFeatures (2)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (1)
73textView.TryMoveCaretToAndEnsureVisible(subjectBuffer.CurrentSnapshot.GetPoint(replaceSpan.Start + snippet.CaretOffset));
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (1)
95var point = subjectBuffer.CurrentSnapshot.GetPoint(finalCaretPosition.Value);
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (4)
CommandHandlers\GoToMatchingBraceCommandHandler.cs (2)
54args.TextView.TryMoveCaretToAndEnsureVisible(args.SubjectBuffer.CurrentSnapshot.GetPoint(span.Value.Start)); 56args.TextView.TryMoveCaretToAndEnsureVisible(args.SubjectBuffer.CurrentSnapshot.GetPoint(span.Value.End));
Snippets\AbstractSnippetExpansionClient.cs (2)
303_ = SubjectBuffer.CurrentSnapshot.GetPoint(startPositionInSubjectBuffer); 304_ = SubjectBuffer.CurrentSnapshot.GetPoint(endPositionInSubjectBuffer);
Microsoft.VisualStudio.LanguageServices (1)
Snippets\AbstractSnippetExpansionClient.cs (1)
399TextView.TryMoveCaretToAndEnsureVisible(new VirtualSnapshotPoint(TextView.TextSnapshot.GetPoint(endLinePosition), _indentDepth));