6 references to GetPoint
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
CompleteStatement\CompleteStatementCommandHandler.cs (3)
244
var newCaret = args.SubjectBuffer.CurrentSnapshot.
GetPoint
(newCaretPosition);
373
targetPosition = caret.Snapshot.
GetPoint
(((DoStatementSyntax)statementNode).CloseParenToken.Span.End);
429
SnapshotPoint GetCaretAtPosition(int position) => originalCaret.Snapshot.
GetPoint
(position);
Microsoft.CodeAnalysis.EditorFeatures (2)
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (1)
74
textView.TryMoveCaretToAndEnsureVisible(subjectBuffer.CurrentSnapshot.
GetPoint
(replaceSpan.Start + snippet.CaretOffset));
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (1)
101
var point = subjectBuffer.CurrentSnapshot.
GetPoint
(finalCaretPosition.Value);
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
395
TextView.TryMoveCaretToAndEnsureVisible(new VirtualSnapshotPoint(TextView.TextSnapshot.
GetPoint
(endLinePosition), _indentDepth));