Between 2019-10-06 and 2019-12-24, several changes were made that impact undo/redo.
- The setDescendentsDirty argument was dropped from pos.setDirty() and vnode.setDirty().
- Method pos.setAllAncestorAtFileNodesDirty() was changed to return None instead of a list of all the nodes set dirty.
I changed some of my code to accommodate change 1. But before I figure out how to accommodate change 2, I would like reassurance that this change is desirable.
To implement undo/redo my code contains these lines.
undoer.afterMoveNode(posTargNew, undoType, undoData, dirtyVnodeList)
undoer.afterChangeGroup(posTargNew, undoGroupType, reportFlag=False, dirtyVnodeList=dirtyVnodeList)
Why is the "dirty dirty vnode list" no longer needed by undoer.afterMoveNode() and undoer.afterChangeGroup()?
Thanks to whoever answers,
SegundoBob