Fionn Kelleher self@osslate.net 2021 Fix mistakes made during editing undo, redo, discard changes Undoing, redoing, and discarding changes

GNOME Text Editor automatically keeps track of changes made while editing a file. Changes can be undone and redone while editing, making it easy to fix mistakes.

Changes tracked for a file will be lost after closing it, or after discarding changes.

Undoing or redoing a change

Pressing Ctrl Z will undo the last change made to a file. Using this shortcut repeatedly will continue undoing changes as they were originally made.

Pressing Ctrl Shift Z will redo the last undone change in a file. Using this shortcut repeatedly will continue redoing changes as they were originally made.

Changes can be redone only if the previous editing operation was undo or redo. For example, typing text into a file directly after undoing a change will prevent redoing the last undone change.

Discarding all changes since last save

Menu Discard Changes will permanently discard all changes made to a file since it was last saved.