You can step back and forth to compare states. Perhaps you only undid things to recover something you deleted moments ago, to copy and paste it into the latest version. Made a mistake? Many apps let you step back several times. In some apps, the alternative form of pasting is named differently.