Question
How to calculate the number of operations in Undo/Redo stack?
How to calculate the number of operations in Undo/Redo stack?
I tried to override UndoManager.pushUndo method and increment "operationsCounter" there, but pushUndo is called each time I make a change in text.
Another idea was to override EditManager.finalizeDo and use "operationsCounter" there, but finalizeDo is private...
Do you have any idea?
