public boolean canRedo(){
  return m_nCurrentEditAction < m_undoStack.size() - 1;
}

public boolean canRedo ( ) { return m_nCurrentEditAction < m_undoStack . size ( ) - 1 ; }
return whether there is something on the undo stack that can be performed
