SLIDE 1
Duke CPS 108
- 13. 1
Problem: commands with state and undo support
- How do applications with “undo” options (e.g., formatting in
word processors) support the undo?
- How can a command, e.g., load files, find line numbers, be
encapsulated into a class/object?
- How can commands be combined into macro-commands or