Overview
This source code allows you to add multiple undo/redo to your
text editor, while keeping full control over when to record events or not. The
code also 'remembers' what type of edit occurred (i.e. delete text, paste text
etc), and allows you to go back in multiple stages, like in Office 97. You can
also specify the Undo limit, and clear its memory too!