An alternative to Undo is the Restore Lines command. This command restores the selected lines to their original contents when the file was first opened. Furthermore, the Restore Lines command can be undone with the Undo command. Mixing both Undo and Restore Lines can be very useful.