On Wed, Mar 4, 2009 at 4:37 PM, Jesse Aldridge <[email protected]>wrote:

>
> Create a new outline.
>
> Paste the following into the the NewHeadline node:
>
> new_node = c.p.insertAsLastChild()
> new_node.initHeadString("I am a new node")
> new_node.moveAfter(c.rootPosition())
> c.redraw()
>
> Make the node a script button.
> Click the button twice.
>
> It works, but the headline of the original node is changed to "I am a
> new node".


Thanks for this report.  It looks like the workaround I used to avoid a
similar problem with the clone-find-all command points to a deeper problem.

We could try the same workaround here, but that really is not good enough.
I'll have to think of a more general way.  It may be quite tricky...

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