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