How does undo work? Does it copy all the managed objects every time any of the values change? Or does it only copy the actual changes together with an information which objects were affected? Is that heavy or lightweight?
How does undo work? Does it copy all the managed objects every time any
Share
The ‘undo’ mechanism for pretty much any language that supports Object-Oriented constructs uses the Memento Design Pattern to make it happen.