Recent changes to an open file can be undone and the most recent undo can be reversed.
In Visual LISP, do one of the following:
 Undo to undo the most recent change in the Console or text editor window. 
 Redo to reverse the most recent undo in the Console or text editor window.