This code shows you how to create nearly Unlimited Undos and Unlimited Redos, along with Cut Copy, Paste, and Select All features, in a RichTextBox Control.
This code was originally programmed by Jason Shimkoski, it was updated by me when I discovered an error in his program.