ctrl–Z
Undo the last operation. If the text is dimmed - the operation cannot be undone.