9 references to CaretPreservingEditTransaction
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
174using var transaction = new CaretPreservingEditTransaction(
Microsoft.CodeAnalysis.EditorFeatures (5)
AutomaticCompletion\Extensions.cs (1)
23return new CaretPreservingEditTransaction(description, view, registry, service)
CommentSelection\AbstractCommentSelectionBase.cs (2)
131using (var transaction = new CaretPreservingEditTransaction(title, textView, _undoHistoryRegistry, _editorOperationsFactoryService)) 149using var transaction = new CaretPreservingEditTransaction(title, textView, _undoHistoryRegistry, _editorOperationsFactoryService);
Formatting\FormatCommandHandler.cs (1)
212=> new(description, view, _undoHistoryRegistry, _editorOperationsFactoryService);
Shared\Utilities\CaretPreservingEditTransaction.cs (1)
47return new CaretPreservingEditTransaction(description, textView, undoHistoryRegistry, editorOperationsFactoryService);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
EndConstructGeneration\EndConstructCommandHandler.vb (1)
147Using transaction = New CaretPreservingEditTransaction(VBEditorResources.End_Construct, view, _undoHistoryRegistry, _editorOperationsFactoryService)
EndConstructGeneration\VisualBasicEndConstructGenerationService.vb (1)
171Using transaction = New CaretPreservingEditTransaction(VBEditorResources.End_Construct, textView, _undoHistoryRegistry, _editorOperationsFactoryService)
NavigationBar\VisualBasicEditorNavigationBarItemService_CodeGeneration.vb (1)
40Using transaction = New CaretPreservingEditTransaction(VBEditorResources.Generate_Member, textView, _textUndoHistoryRegistry, _editorOperationsFactoryService)