Re: Sometimes it just pays to ask.

2014-08-06 Thread Jacob Peck

How to make it 'stick':

1) Get Leo set up the way you like it.
2) Right-click - Save Layout, give it a name like 'default'

That's it!

Not sure about locking the vr2 pane, though.  There's no 
straight-forward way that I can see of grabbing a vr2 widget from c...


--Jake

On 8/6/2014 2:06 PM, Chris George 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?

https://lh4.googleusercontent.com/-kGZ3Il88LK8/U-JuFQWshtI/ELk/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 leo-editor+unsubscr...@googlegroups.com 
mailto:leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com 
mailto:leo-editor@googlegroups.com.

Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


--
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Sometimes it just pays to ask.

2014-08-06 Thread Chris George
Thanks Jake.

The Save Layout does hold the pane position between sessions and I can 
save different window positions to load using it. But as you said, there 
does not appear to be a an easy and intuitive way to do what I want it to 
do, including the splitting the body pane the way I want. I spent a long 
time looking before I asked. :-)

Chris

On Wednesday, August 6, 2014 11:45:49 AM UTC-7, Jacob Peck wrote:

  How to make it 'stick':

 1) Get Leo set up the way you like it.
 2) Right-click - Save Layout, give it a name like 'default'

 That's it!

 Not sure about locking the vr2 pane, though.  There's no straight-forward 
 way that I can see of grabbing a vr2 widget from c...

 --Jake

 On 8/6/2014 2:06 PM, Chris George 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?

  
 https://lh4.googleusercontent.com/-kGZ3Il88LK8/U-JuFQWshtI/ELk/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 leo-editor+...@googlegroups.com javascript:.
 To post to this group, send email to leo-e...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/leo-editor.
 For more options, visit https://groups.google.com/d/optout.


  

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Sometimes it just pays to ask.

2014-08-06 Thread 'Terry Brown' via leo-editor
On Wed, 6 Aug 2014 11:06:36 -0700 (PDT)
Chris George technat...@gmail.com 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/ELk/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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Sometimes it just pays to ask.

2014-08-06 Thread Chris George
I think I found a bug. I cannot seem to display @url nodes in a 
pre-existent viewrendered pane. All other nodes seem to display as expected 
while navigating the tree or updating content (with a refresh or the vr 
pane), but as soon as I navigate to a @url node, the viewrendered pane goes 
blank. If I delete the viewrendered pane and recreate it while on the @url 
node, it displays the @url and allows me to click it and proceed.

It seems as if @url nodes are invisible after creation of the vr pane.

Chris
 
On Wednesday, August 6, 2014 12:20:48 PM UTC-7, Terry wrote:

 On Wed, 6 Aug 2014 11:06:36 -0700 (PDT) 
 Chris George techn...@gmail.com javascript: 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/ELk/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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Sometimes it just pays to ask.

2014-08-06 Thread Chris George
Recreating the vr pane via the split menu/Insert displays the same 
behaviour. It is only if I select the @url node and then create the vr pane 
via the Plugins menu am I able to hit refresh and have it display.

Chris

On Wednesday, August 6, 2014 2:51:22 PM UTC-7, Chris George wrote:

 I think I found a bug. I cannot seem to display @url nodes in a 
 pre-existent viewrendered pane. All other nodes seem to display as expected 
 while navigating the tree or updating content (with a refresh or the vr 
 pane), but as soon as I navigate to a @url node, the viewrendered pane goes 
 blank. If I delete the viewrendered pane and recreate it while on the @url 
 node, it displays the @url and allows me to click it and proceed.

 It seems as if @url nodes are invisible after creation of the vr pane.

 Chris
  
 On Wednesday, August 6, 2014 12:20:48 PM UTC-7, Terry wrote:

 On Wed, 6 Aug 2014 11:06:36 -0700 (PDT) 
 Chris George techn...@gmail.com 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/ELk/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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Sometimes it just pays to ask.

2014-08-06 Thread 'Terry Brown' via leo-editor
On Wed, 6 Aug 2014 14:51:22 -0700 (PDT)
Chris George technat...@gmail.com wrote:

 I think I found a bug. I cannot seem to display @url nodes in a 

Your description seems useful, can you post a bug report:
https://github.com/leo-editor/leo-editor/issues

Cheers -Terry

 pre-existent viewrendered pane. All other nodes seem to display as
 expected while navigating the tree or updating content (with a
 refresh or the vr pane), but as soon as I navigate to a @url node,
 the viewrendered pane goes blank. If I delete the viewrendered pane
 and recreate it while on the @url node, it displays the @url and
 allows me to click it and proceed.
 
 It seems as if @url nodes are invisible after creation of the vr pane.
 
 Chris
  
 On Wednesday, August 6, 2014 12:20:48 PM UTC-7, Terry wrote:
 
  On Wed, 6 Aug 2014 11:06:36 -0700 (PDT) 
  Chris George techn...@gmail.com javascript: 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/ELk/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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.