Have you ever had trouble with editing your AFP document while on the go? Well, DocHub comes with a great solution for that! Access this cloud editor from any internet-connected device. It allows users to Redo textbox in AFP files rapidly and anytime needed.
DocHub will surprise you with what it offers. It has powerful capabilities to make whatever changes you want to your paperwork. And its interface is so intuitive that the whole process from beginning to end will take you only a few clicks.
Once you complete modifying and sharing, you can save your updated AFP document on your device or to the cloud as it is or with an Audit Trail that contains all alterations applied. Also, you can save your paperwork in its original version or turn it into a multi-use template - complete any document management task from anywhere with DocHub. Sign up today!
have you ever wondered how undo and redo is implemented in applications lets look at an algorithm for that its quite simple lets draw this out with ascii art heres the timeline it goes forward and lets draw the state changes in an application state change is one of add edit delete operations here are some state changes on the timeline now as you can probably guess from here when you undo we go back to the previous state when you redo we go forward in the list so naturally the data structure we should use is a linked list now lets drill down a bit more we want to save state just before the change happens lets mark it on the timeline lets write down what we know so far save state from fresh has these steps serialize the state add to the change set list increment the index lets visualize the index in our timeline as well and now lets look at undo imagine we want to undo at this point what this means is we want to get to the previous state here the index should be decremented now