public void CommitUndoAction(UndoSystem.Action action, bool setModified = true) { UndoSystem?.CommitAction(action); if (setModified) { Modified = true; } }
public void AddAction(UndoSystem.Action action) { actions.Add(action); }