I found some code on the web for multiple undo/redo, but it only holds up to 1000x undo and then throws and out of boundaries error when undo 1001 tries to join the array. I tried writing a function that recycled an undo array when the max limit was reached, but it never replaced the contents of the array back into the text box correctly.
Anyone have or know where to find a reliable multiple undo/redo code snippet to use?
P.S. I've used the CAN_UNDO and UNDO API functions and they're just not versatile enough. I'm looking for at least 10x undo/redo.




Reply With Quote