1 write to NewPosition
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionChange.cs (1)
56NewPosition = newPosition;
10 references to NewPosition
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\CommitManager.cs (2)
264if (change.NewPosition.HasValue) 268view.TryMoveCaretToAndEnsureVisible(new SnapshotPoint(updatedCurrentSnapshot, change.NewPosition.Value));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
515var caretPosition = commit.NewPosition ?? textView.Caret.Position.BufferPosition.Position;
Microsoft.CodeAnalysis.Features (6)
Completion\CompletionChange.cs (4)
124=> new(textChange, TextChanges, NewPosition, IncludesCommitCharacter); 130=> new(TextChange, textChanges, NewPosition, IncludesCommitCharacter); 133/// Creates a copy of this <see cref="CompletionChange"/> with the <see cref="NewPosition"/> property changed. 142=> new(TextChange, TextChanges, NewPosition, includesCommitCharacter);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (2)
110if (change.NewPosition != null) 112properties.Add(NewPositionKey, change.NewPosition.ToString());
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResolveHandler.cs (1)
154var caretPosition = completionChange.NewPosition;