On Thu, Aug 28, 2014 at 8:43 AM, Jacob M. Peck <[email protected]> wrote:
>
> On 8/28/2014 4:51 AM, Edward K. Ream wrote:
>>
>> creating a position from a vnode is difficult/impossible.
>
> c.vnode2position(v)?
>
> I've used it for ages, never had any issues.

Haha.  I hadn't thought of that. It will probably work. Thanks for the
suggestion.

Indeed, suppose we do scan the outline, and find nodes that are
parents of the target node.  The script would clone the parent, and
then *move* the clone to the "Found" node.  The moving destroys the
original location of the parent, so we might as well just use
vnode2position(vi) for all vi in v.parents and skip the scan.

BTW, parents of the original v may themselves be cloned, so there can
be two vnodes, say v1 and v2, in v.parents such that v1.v == v2.v :-)

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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to