Thread: /undo script
View Single Post
  #2  
Old 03-22-2011, 11:09 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Well, with text, Ctrl+Z still works (or Command+Z for Macs).

For other stuff, it would be possible, but you'd need to have a stack filled with enough information to rebuild the old state from your current state (like a stack of diffs). The diff would obviously vary depending what you're building the undo ability for.

If you give a more concrete example, perhaps better advice can be given.

Last edited by WhiteDragon; 03-23-2011 at 12:29 AM.. Reason: I have been informed by the masters.
Reply With Quote