multiple editor - the first pane does not change content

11 views
Skip to first unread message

daniel

unread,
May 16, 2013, 11:44:15 AM5/16/13
to leo-e...@googlegroups.com
Hi,

I discovered this week that I can open multiples body panes. Very cool feature since sometimes I am editing a node while comparing it to another, so having them side by side is great.

------------------------------

A funny behaviour with this feature though:

1) I open Leo (one body pane is already there)
2) Without clicking on the tree I open another body pane using Add-Editor from the menu "Cmds"
3) This second body pane works fine, switching content according with the node selected in the tree
4) The first body pane however does not change content when a different node is selected in the tree.

In this situation, the header in the two body panes is somewhat different:
 - the first body pane (the one that does not change) has a header with full black colour font
 - the second body pane (the one that changes ok) has a header that is in light grey colour.

No for the interesting part:
If I close Leo and follow the steps again, but this time clicking on a node in the tree before executing Add-Editor, then both panes change content synchronised with the tree.
Is this an intended behaviour?


If I try to do the same without closing Leo before the second test then I just get a blue filled-box instead of the header in the first body pane. And it does not change content.

Hope this is clear enough.

Thanks for any help,

Daniel

PS:
I searched the group for some similar topic but could not find anything appropriate. If this topic has already been discussed somewhere else, I apologise.


Jacob Peck

unread,
May 16, 2013, 11:57:20 AM5/16/13
to leo-e...@googlegroups.com
On 5/16/2013 11:44 AM, daniel wrote:
> Hi,
>
> I discovered this week that I can open multiples body panes. Very cool
> feature since sometimes I am editing a node while comparing it to
> another, so having them side by side is great.
>
> ------------------------------
>
> A funny behaviour with this feature though:
>
> 1) I open Leo (one body pane is already there)
> 2) Without clicking on the tree I open another body pane using
> Add-Editor from the menu "Cmds"
> 3) This second body pane works fine, switching content according with
> the node selected in the tree
> 4) The first body pane however does not change content when a
> different node is selected in the tree.
>
> In this situation, the header in the two body panes is somewhat different:
> - the first body pane (the one that does not change) has a header
> with full black colour font
> - the second body pane (the one that changes ok) has a header that is
> in light grey colour.
>
The editor with focus is the one that changes. You can change focus by
clicking into the other editor, before changing the node in the
outline. Unless you've already tried that...
> No for the interesting part:
> If I close Leo and follow the steps again, but this time clicking on a
> node in the tree before executing Add-Editor, then both panes change
> content synchronised with the tree.
> Is this an intended behaviour?
>
No idea about this one, but I'd suspect not.
>
> If I try to do the same without closing Leo before the second test
> then I just get a blue filled-box instead of the header in the first
> body pane. And it does not change content.
>
> Hope this is clear enough.
>
> Thanks for any help,
>
> Daniel
>
> PS:
> I searched the group for some similar topic but could not find
> anything appropriate. If this topic has already been discussed
> somewhere else, I apologise.
>
>
Hope this helps,
-->Jake
> --
> 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.
> To post to this group, send email to leo-e...@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

daniel

unread,
May 16, 2013, 2:48:00 PM5/16/13
to leo-e...@googlegroups.com
Hello Jake,

Thanks very much for your reply.

 
The editor with focus is the one that changes.  You can change focus by
clicking into the other editor, before changing the node in the
outline.  Unless you've already tried that...

Yes. I tried this, and that is when I noticed that I could not get the first body pane to get focus. It seems to be 'locked' in the first selected node.

Cheers, Daniel

Jacob Peck

unread,
May 16, 2013, 2:56:04 PM5/16/13
to leo-e...@googlegroups.com
--
Then it seems you've found a bug.  Hmm... not sure how else to help.

Perhaps Terry or Edward have a suggestion?
-->Jake

Edward K. Ream

unread,
May 20, 2013, 3:20:05 PM5/20/13
to leo-editor
Please file a bug report at https://bugs.launchpad.net/leo-editor

Edward
Reply all
Reply to author
Forward
0 new messages