3 references to CaretPreservingEditTransaction
Microsoft.CodeAnalysis.EditorFeatures (3)
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
119using var caretPreservingTransaction = new CaretPreservingEditTransaction(EditorFeaturesResources.Brace_Completion, _undoHistory, _editorOperations); 291using var caretPreservingTransaction = new CaretPreservingEditTransaction(EditorFeaturesResources.Brace_Completion, _undoHistory, _editorOperations);
Shared\Utilities\CaretPreservingEditTransaction.cs (1)
23: this(description, undoHistoryRegistry.GetHistory(textView.TextBuffer), editorOperationsFactoryService.GetEditorOperations(textView))