On Wed, 6 Aug 2014 11:06:36 -0700 (PDT) Chris George <[email protected]> wrote:
> I would like to be able to have a certain set of windows open in a > certain position with certain content every time I open my Leo file > (I only use one file to hold everything). > > I surmise that a script may be involved, as one of the certain > windows is a viewrendered2 pane, locked to a certain node. The node > is an @url that points to piggydb, a java app that runs local on my > Linux box. The body editor pane defaults to the last node I used in > the previous session, which is fine.. > > I have attached a screenshot so you will get the idea. > > What is the easiest/most elegant way to make this happen? The layout part is easy. Starting from the default view (i.e. your screenshot without the viewrendered pane), right click the vertical pane divider between the tree+log and the body. Select insert from the context menu there. That creates a big "Action" button, click that and select Viewrendered. Now right click the vertical pane divider between the Viewrendered pane and the body pane, and select "swap 1 right 1 left". Finally, right click any pane divider and select "Save Layout", and give it a name. This will be the default layout for this outline henceforth. (think you got all that already) Persisting the locking of the vr pane to a particular node would need some sort of @script. For a long time now I've wanted to replace the "add body editor" with free_layout based multiple body editors, but there's quite a bit of hidden complexity there, so it still hasn't happened. Cheers -Terry > <https://lh4.googleusercontent.com/-kGZ3Il88LK8/U-JuFQWshtI/AAAAAAAAELk/eapDc2NKOQk/s1600/snapshot1.png> > On a related note, it would be very useful to me to be able to split > that middle body editor to make two square panes in the middle. The > current "Add Body Editor" and windowing options leave me with two > long, skinny unusable strips. > > > Chris > -- 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/d/optout.
