Body text: toggle between full view and recursive view

11 views
Skip to first unread message

Bulletproof Monk

unread,
Nov 21, 2011, 9:05:27 AM11/21/11
to leo-editor
Hello. New user here, sorry for basic question.

The problem with my question is defining the search terms so that
Google may tell me what I want but, since I seem to fail at that, here
I am, bothering you. :)

There must be some way to toggle the view in body panel/editor between
default view (whatever selected node contains) and recursive view
(content of selected node and all of it's kids).

While waiting for an response, I will research on how contextual menu
in body editor may be altered, so that the command may be inserted
there.

Thanks.

Terry Brown

unread,
Nov 21, 2011, 1:00:31 PM11/21/11
to leo-e...@googlegroups.com
On Mon, 21 Nov 2011 06:05:27 -0800 (PST)
Bulletproof Monk <booletpr...@gmail.com> wrote:

> There must be some way to toggle the view in body panel/editor between
> default view (whatever selected node contains) and recursive view
> (content of selected node and all of it's kids).
>
> While waiting for an response, I will research on how contextual menu
> in body editor may be altered, so that the command may be inserted
> there.

I don't think there is any such functionality - it would be nice, but
is probably also difficult to do right in the body pane. It could
perhaps be done as a viewrendered mode - you could file a wish-list bug.

Cheers -Terry

Bulletproof Monk

unread,
Nov 22, 2011, 1:21:31 AM11/22/11
to leo-e...@googlegroups.com, terry_...@yahoo.com
oh... thanks. Will look into the sources some time latter, maybe I can contribute a patch.

Matt Wilkie

unread,
Nov 22, 2011, 2:20:48 PM11/22/11
to leo-e...@googlegroups.com
> There must be some way to toggle the view in body panel/editor between
> default view (whatever selected node contains) and recursive view
> (content of selected node and all of it's kids).

I use "Edit in ..." for this (available from r-click on node
headline), though that's just a crutch as it's not available without
external files (@file, @shadow, etc.). A "show all children" merged
view would be a welcome function for me.

--
-matt

Edward K. Ream

unread,
Nov 25, 2011, 10:58:11 AM11/25/11
to leo-e...@googlegroups.com
On Mon, Nov 21, 2011 at 12:00 PM, Terry Brown <terry_...@yahoo.com> wrote:

>> There must be some way to toggle the view in body panel/editor between
>> default view (whatever selected node contains) and recursive view
>> (content of selected node and all of it's kids).

There is not. It's a frequently requested feature, especially from
newcomers, but it would not be easy to do. In essence the new view
would be ignoring outlining structure. That's not easy to do with
Leo.

As a workaround, you can create an @edit node for any file, even a
file that is defined as an @file node elsewhere in the outline.

Edward

Reply all
Reply to author
Forward
0 new messages