This repository has been archived by the owner. It is now read-only.

Add UndoManager and make undo/redo shortcuts #119

Closed
wants to merge 8 commits into
from
Commits on May 15, 2012
  1. Add UndoManager and make undo/redo shortcuts

    mbuttu committed Mar 25, 2012
    Currently
      * Control-z is undo, and control-shift-z is redo.
      * Only track events that are added can be undone and redone.
  2. Add review fixes

    mbuttu committed Mar 28, 2012
    * Change _undoManager to __undoManager.
    * Remove the canUndo() and canRedo() calls in the keydown callback
      since it is already done internally in the _undoManager.
    * Clear the _redoStack when a new command is registered.
  3. Add tests for the UndoManager

    mbuttu committed Apr 19, 2012
  4. Add undo/redo for removing track events

    mbuttu committed Apr 20, 2012
    Also fixed a bug. When redoing the addTrackEventCommand, it now adds
    the previously deleted track event instead of creating a new one.