DocumentKit is a proof of concept demonstrating the Command Pattern. It is divided into two parts:
- CommandKit containing the definition of a
Command
and aCommandManager
capable of executing, undoing and redoingCommand
s. - DocumentKit containing a
Document
class representing the content of document, with two concret implementations of theCommand
interface, i.e.DeleteText
andInsertText
.