public boolean canUndo(){
  return m_nCurrentEditAction >= 0;
}

public boolean canUndo ( ) { return m_nCurrentEditAction >= 0 ; }
return whether there is something on the undo stack that can be performed
