but ctrl+z is a single step undo, isn't it? I haven't done this with imagedata, but for text changes in fields I store the text of field in an array 'undooArray' before each space, enter, return, backspace, delete, dot, comma, colon, paste, copy, cut, insert (or any other action of context menu) in that field. Then I can undo or redo as many times as I like by adding or subtracting from current key of the array. E.g. undo as put undooArray[currentKey - 1] into fld myField; redo as put undooArray[currentKey + 1]. Only available memory sets the limit.

best wishes!
Viktoras

J. Landman Gay wrote:
Tiemo Hollmann TB wrote:
I want to provide my user a undo function in the standalone with the brush
tool, not while developing.

In that case you may need to write a commandKey handler that traps for "z" and issues the "undo" command. If you have menus with that keyboard shortcut, they should work too.

By the way, what is "AW:" in the subject line?


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to