Corresponds to the Undo toolbar button and reverts the last operation.
redo()
Similar to undo(), but reverts as many operations as possible.
undo()