modifications in Undo/Redo

General TRichView support forum. Please post your questions here
Post Reply
Cosmin3
Posts: 54
Joined: Sat Apr 05, 2008 12:04 pm

modifications in Undo/Redo

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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).
Cosmin3
Posts: 54
Joined: Sat Apr 05, 2008 12:04 pm

Post by Cosmin3 »

Ok. Thanks anyway.
Post Reply