Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows based text editor - Redo function..urgent..plz help

Status
Not open for further replies.

palmersheila

Technical User
Nov 30, 2003
12
MY
I have developed a windows based text editor. I have been struggling with implementing the redo feature. Please help..I can't seem to find
a solution to this...This work is due next Monday.
 
redo as in undo/redo changes?? hmm - well, I'd assume you have to use some sort of data structure to hold data so you can "roll back" to what it was before. Basically, if you have undo written - you just reverse the process. Say undo holds each "change" which you could say decipher there were changes via messages - well, hold that data in a data structure - when you use 'undo' hold the information that was 'undone' in a data structure - when you redo, have it "rollback" - hope that makes sense, and helps with your algorithm a little bit :)

The weevil of doooooooooom
-The eagle may soar, but the weasel never gets sucked up by a jet engine (Anonymous)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top