Page "Design Patterns" Paragraph 78
from
Wikipedia
All executed are kept in a list with a method of keeping a " present " marker directly after the most recently executed command.
A request to undo will call the directly before " present ", then move " present " back one command.
Page 1 of 1.
2.054 seconds.