public void discardUndo(){
  for (  Undoable undoable : mUndoActions) {
    undoable.discard();
  }
  mUndoActions.clear();
  mUndoPopup.dismiss();
}

public void discardUndo ( ) { for ( Undoable undoable : mUndoActions ) { undoable . discard ( ) ; } mUndoActions . clear ( ) ; mUndoPopup . dismiss ( ) ; }
discard all stored undos and hide the undo popup dialog .
