Page 1 of 1

modifications in Undo/Redo

Posted: Thu Feb 18, 2010 1:56 pm
by Cosmin3
Hi.
After the user click on Undo/Redo buttons, is it possible to detect what was changed - without comparing the text before and after (which is slow)..?
I mean, if the user deletes text from Item1 Offs1 to Item2 Offs2, on Undo to know Item1, Offs1, Item2, Offs2 and maybe even the text that was brought back.
Thank you in advance for any reply.

Best regards.

Posted: Thu Feb 18, 2010 2:27 pm
by Sergey Tkachenko
Sorry, no.
May be except for some special cases, when events occur on some operations: OnItemTextEdit, OnItemResize, OnItemAction (but except for rviaMovingToUndoList and rviaTextModifying, this event may occur not only because of editing).

Posted: Thu Feb 18, 2010 2:30 pm
by Cosmin3
Ok. Thanks anyway.