On Mon, Sep 23, 2013 at 8:43 AM, Terry Brown <[email protected]>wrote:
> I'd d o something like : > nd = p.insertAfter() > nd.moveToNthChildOf(p.parent(), p.childIndex()-1) > This will fail in several ways. As you imply, p.parent() does not exist for top-level nodes. Second, undo will spoil the previous hoist result if p is at the top of c.hoistStack. See c.insertHeadlineBefore for details. 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/groups/opt_out.
