On Tue, 5 Feb 2013 17:14:14 -0800 (PST)
wgw <[email protected]> wrote:
> I would like to see a fuller outline view of Leo trees. So instead of
> seeing one body only and the tree of headlines, I want to display all the
> parts of the tree (all bodies and subheadings) as continuous text, much
> like a word processor outline.
>
> I can almost do that myself in the preview panel. Here is a very sloppy
> "preview-tree" script (good for a laugh for anyone who does much Leo
> programming!).
>
> result = ["\n\n>"+p.h,"\n"+p.b]
> for p2 in p.subtree():
> result.append("\n\n>>"+p2.h + "\n\n" )
> for i in p2.b.split('\n'):
> result.append("\n| " + i)
> s = ''.join(result)
>
> g.app.gui.runScrolledMessageDialog(c=c, msg = g.u('rst:\n') + s )
>
>
> This needs a total redesign, but it does give an idea of the results I want
> to get: the whole tree (not necessarily in rst format).
>
> I think I could probably get this to work correctly, but the really tough
> part, I think, is being able to click somewhere on the tree preview and go
> to the pertinent node in the headline/body panels.
>
> This looks like a feature that Word has, but that Leo doesn't, as far as I
> can tell. Or am I missing something (besides the fact that such things can
> be done in Leo almost magically!) ?
>
> Any suggestions for a full tree preview ?
I think this has been requested before and Ville did something possibly
using QtQuick or something, a scrolley flicky thing :-)
Ah yes,
https://groups.google.com/forum/?fromgroups=#!topic/leo-editor/Zs-5jKjPAB0
...and... I think I'm going to have to kill me Leo session after doing
nb-all on a large outline, so be warned - nb-subtree is probably
smarter.
Cheers -Terry
> Bill
>
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.