Page 1 of 1

Undo/Redo length

Posted: Mon Jun 29, 2015 10:00 am
by jota
Hello

How I can know number of undo or redo operations i can recover at a given time?

Thanks in advance

Posted: Mon Jun 29, 2015 4:20 pm
by Sergey Tkachenko
There are no documented methods for this.
But you can use
TRVEditRVData(RichViewEdit1.RVData).UndoList.Count
TRVEditRVData(RichViewEdit1.RVData).RedoList.Count

Posted: Tue Jun 30, 2015 9:52 am
by jota
Hi

Thanks for your solution