Undo and Redo
Every editing operation goes to the undo stack and can be reversed by the Undo command. The amount of operations in the undo stack is technically unlimited, but many file operations will clear it. So, it is not meant to hold the whole editing history, but just offer possibility to reverse simple editing mistakes.
Executing undo moves the operation to the redo stack. Redo command can then be used to reapply the operation and move it back to the undo stack. All new editing operations will clear the redo stack.
Note that the element list operates outside of the undo system. Removing the element from the list cannot be reversed by undo.
Undo (Ctrl+Z)
Undoes last operation and moves it to the Redo stack.
Redo (Ctrl+Y)
Redoes last operation from the Redo stack and moves it back to the Undo stack.