On Wednesday, May 27, 2020 at 9:32:41 AM UTC-5, Edward K. Ream wrote:

There are several details about the proposal which I forgot to mention:

*Writing the template*

Writing the template is the tricky part. The write code will allocate new 
gnx's to all nodes that are *not* descendants of candidate clones.

If a node *is* a descendant of a candidate clone, then that node's gnx 
absolutely must not change! All clones (of the same node) are actually the 
same vnode. It makes no sense to have the children of "one" clone be 
different from the children of the "other" clone. Do you see?

*Using the clipboard is optional*

The benign "s" kwarg allows c.outlineCommands.pasteOutlineRetainingClones 
to get its input from a string instead of the clipboard. Therefore, the 
write code can might optionally write to a string rather than the 
clipboard. Otoh, writing to the clipboard may be better. I don't care much 
either way.

Edward

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/cf833dd7-f470-406f-bae5-e7dcc7d61b66%40googlegroups.com.

Reply via email to