13 references to UndoManagers
Microsoft.CodeAnalysis.EditorFeatures (13)
InlineRename\AbstractInlineRenameUndoManager.cs (1)
81
this.
UndoManagers
.Clear();
InlineRename\UndoManagerServiceFactory.cs (12)
43
UndoManagers
[subjectBuffer] = new BufferUndoState() { TextUndoHistory = undoHistory };
49
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;
55
this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction = undoTransaction;
56
this.
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction = null;
61
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;
64
if (undoHistory.UndoStack.First() == this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction)
77
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction = undoTransaction;
85
if (!this.
UndoManagers
.TryGetValue(subjectBuffer, out var bufferUndoState))
91
var targetTransaction = this.
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction ?? this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction;
111
ApplyReplacementText(subjectBuffer, this.
UndoManagers
[subjectBuffer].TextUndoHistory, propagateSpansEditTag, spans, this.currentState.ReplacementText);
114
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;