2 writes to _parentUndoUnit
PresentationFramework (2)
System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
45_parentUndoUnit = new TextParentUndoUnit(textContainer.TextSelection); 49_parentUndoUnit = new ParentUndoUnit(actionDescription);
10 references to _parentUndoUnit
PresentationFramework (10)
System\Windows\Documents\ChangeBlockUndoRecord.cs (10)
52_undoManager.Open(_parentUndoUnit); 79if (_parentUndoUnit != null) 83if (_parentUndoUnit.Container is UndoManager) 85openedUnit = ((UndoManager)_parentUndoUnit.Container).OpenedUnit; 89openedUnit = ((IParentUndoUnit)_parentUndoUnit.Container).OpenedUnit; 93if (openedUnit == _parentUndoUnit) 95if (_parentUndoUnit is TextParentUndoUnit) 97((TextParentUndoUnit)_parentUndoUnit).RecordRedoSelectionState(); 100_undoManager.Close(_parentUndoUnit, (_parentUndoUnit.LastUnit != null) ? UndoCloseAction.Commit : UndoCloseAction.Discard);