On Thu, Dec 1, 2011 at 10:00 PM, Brian Theado <[email protected]> wrote:
> I'm writing a script which inserts a node and moves the selected node
> as a child of the inserted node.  At the end of the script I want the
> changes to be reflected and so I call c.redraw().  I want the
> originally selected node to stay selected, so I call c.redraw(p


> p = p.moveToFirstChildOf(n)

The proper idiom is:

    p.moveToFirstChildOf(n)

Does this work for you?  If it does, I probably should remove the
"return p" from the end of the position move methods.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to