Undo the most recent edit action, that is, all the inserts and deletes recorded on the undo stack since the previous separator, and move it to the redo stack. Raises TclError if the undo stack is empty. Has no effect unless the undo option is true. Since Tk 9.0, returns a tuple of indices delimiting the ranges of text that were changed.