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