Undo

The Edit | Undo menu option removes the last change you made to the Edit window. You can continue to select the Undo option to remove multiple changes to the Edit window.

Be aware that switching to a different Edit window mode, completely removes all changes from memory.