This is a simple class module with examples to
add undo/redo functionality to an RichTextBox control. I say simple because there are many ways to implement undo/redo stacks. This is probably the simplest aproach using a single collection for the stack. Other methods include using an array as a stack which is more efficient and seperate undo/redo stacks using either arrays or collections. I used the simplest appraoch here because this is my first class module.
If you like it please vote, and if you want to see changes please let me know.
This class is very simple to use - see examples.
Original Author: RegX
No assumptions, code is documented so everything you need to know is included in the examples.
The class module is not documented - this example shows how to use the class module, and is not intended as tutorial on writing class modules.
About this post
Viewed: 71 times
Posted: 9/3/2020 3:45:00 PM
Size: 6,559 bytes
No comments have been added for this post.
You must be logged in to make a comment.