2 writes to _parentUndoUnit
PresentationFramework (2)
src\Framework\System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
47_parentUndoUnit = new TextParentUndoUnit(textContainer.TextSelection); 51_parentUndoUnit = new ParentUndoUnit(actionDescription);
10 references to _parentUndoUnit
PresentationFramework (10)
src\Framework\System\Windows\Documents\ChangeBlockUndoRecord.cs (10)
54_undoManager.Open(_parentUndoUnit); 81if (_parentUndoUnit != null) 85if (_parentUndoUnit.Container is UndoManager) 87openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit; 91openedUnit = ((IParentUndoUnit)_parentUndoUnit.Container).OpenedUnit; 95if (openedUnit == _parentUndoUnit) 97if (_parentUndoUnit is TextParentUndoUnit) 99((TextParentUndoUnit)_parentUndoUnit).RecordRedoSelectionState(); 102_undoManager.Close(_parentUndoUnit, (_parentUndoUnit.LastUnit != null) ? UndoCloseAction.Commit : UndoCloseAction.Discard);