13 references to UndoManagers
Microsoft.CodeAnalysis.EditorFeatures (13)
InlineRename\AbstractInlineRenameUndoManager.cs (1)
79
this.
UndoManagers
.Clear();
InlineRename\UndoManagerServiceFactory.cs (12)
42
UndoManagers
[subjectBuffer] = new BufferUndoState() { TextUndoHistory = undoHistory };
48
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;
54
this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction = undoTransaction;
55
this.
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction = null;
60
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;
63
if (undoHistory.UndoStack.First() == this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction)
76
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction = undoTransaction;
84
if (!this.
UndoManagers
.TryGetValue(subjectBuffer, out var bufferUndoState))
90
var targetTransaction = this.
UndoManagers
[subjectBuffer].ConflictResolutionUndoTransaction ?? this.
UndoManagers
[subjectBuffer].StartRenameSessionUndoTransaction;
110
ApplyReplacementText(subjectBuffer, this.
UndoManagers
[subjectBuffer].TextUndoHistory, propagateSpansEditTag, spans, this.currentState.ReplacementText);
113
var undoHistory = this.
UndoManagers
[subjectBuffer].TextUndoHistory;