Great! Thanks for looking into this. I think it would be a nice feature --
it would make an overview of the tree one of the possible views.

Thanks!

Bill


On Tue, Feb 5, 2013 at 8:43 PM, Terry Brown <[email protected]> wrote:

> On Tue, 5 Feb 2013 20:00:51 -0800 (PST)
> wgw <[email protected]> wrote:
>
> > Thanks! That plugin does both more and less than I want: more, because I
> > get a full and nicely formatted window with editable text boxes; less,
> > since it doesn't write any edited text back to the tree.
> >
> > My fumbling tinkering would go towards not editing in the preview
> > window/pane at all, and just having a keystroke or click scroll the
> editing
> > pane to the right node in Leo. But that would mean that the preview panel
> > would have have to be properly indexed so that from the cursor position
> in
> > the panel the plugin could find the proper node back in the Leo panel.
> >  (Kludgy way: put the node id in the text!)
>
> Yes, I think nb-* is in some ways more of a tech. demonstration.
>
> It wouldn't be hard to do something with HTML formatting and links to
> display the outline and jump to a node when you click on the display,
> I'll try and get to it.
>
> Cheers -Terry
>
> > Thanks for the suggestion.
> >
> > Bill
> >
> > Le mardi 5 février 2013 18:46:56 UTC-8, Terry a écrit :
> > >
> > > On Tue, 5 Feb 2013 17:14:14 -0800 (PST)
> > > wgw <[email protected] <javascript:>> 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.
>
>
>


-- 
W.Winder
faculty.arts.ubc.ca/winder

-- 
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.


Reply via email to