Between 2019-10-06 and 2019-12-24, several changes were made that impact 
undo/redo.


   1. The setDescendentsDirty argument was dropped from pos.setDirty() and 
   vnode.setDirty().
   2. 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

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/64d9365a-4b60-409d-8f3d-d5c980c8b0bb%40googlegroups.com.

Reply via email to