On Tuesday, April 24, 2018 at 7:30:18 AM UTC-5, Edward K. Ream wrote:

The createOutline function does not take into account changes to cloned 
> nodes that occur between copy-json and paste-rc. 
>

In another thread Terry points out that the following will probably fail 
for some uA's.

def copyOutline(p):
    g.app.gui.replaceClipboardWith(json.dumps(p2list(p)))

def p2list(p):
    return [p.h, p.b, p.gnx, p.v.statusBits, p.v.unknownAttributes, # <---- 
may cause problems.
             [p2list(p2) for p2 in p.children()]]

Again, not a gotcha. Again, the complications may be more easily handled in 
the prototype code.

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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to