>
> For Step #2, is there an easy way to clone one node and move it under 
> another specific node?
>
> BR,Austin
>
>>
>>
If you put the following code into a node with the headline `@button 
clone-to-calendar @key=Alt-4`:
v = p.v
cal = c.find_h('Calendar')[0]
cal_v = cal.v
if cal_v not in v.parents:
    cal_v.children.append(v)
    v.parents.append(cal_v)
    cal_v.children.sort(key=lambda x:x.h)
    c.redraw()

The next time you open this outline, whenever you wish to clone a meeting 
node to the calendar you just select the meeting node and press Alt-4. Of 
course you can change the shortcut to whatever you prefer, just change the 
headline of the @button node.

HTH Vitalije


 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/85bbe965-6e20-47e2-b3c8-6625481f7d7b%40googlegroups.com.

Reply via email to