Re: New command in context menu over splitter handle

2017-07-13 Thread Edward K. Ream
On Thu, Jul 13, 2017 at 9:10 AM, Terry Brown  wrote:

QDocks - there's probably some issues here with how leo finds widgets,
> but I suspect they're not too major.  The problem is the startup
> convolutions, getting find and spell tabs init'ed properly relative to
> the log tab.  Conceptually I don't think these things are related, but
> evolution wise I understand their intertwining.
>

​Unraveling specific knots in the startup logic is something worth doing,
despite what I may have said earlier.

leo_edit_pane - need to get Leo syntax highlighting and keybinding
> working on the edit view.  Recent increase in knowledge of the
> highlighter might help with that bit, might try and get that done and
> then hope Edward can help with the key binding stuff.
>

​I am quite willing to help with bindings.

You and Vitalije clearly know more about Leo's windowing code than I do.
Consider yourselves deputized :-)  Having said that, it's still my
responsibility to answer any questions if I can.

Edward

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: New command in context menu over splitter handle

2017-07-13 Thread Terry Brown
On Thu, 13 Jul 2017 06:12:14 -0700 (PDT)
vitalije  wrote:

> Fixed at cc86d25.
> >
> > There were also problem if executed on splitter between tree and
> > body 
> without vr pane. Now it is fixed (I hope).
> Vitalije

These fixes are great.  My two stalled :-/ projects would replace (in
the open source sense of replacing where they'd be competing
alternatives) the free_layout pane management system with QDocks and
the vr widget with the leo_edit_pane widget.

Given their stalled state I don't think that has any bearing on the
current fixes except to say I hope both the current pane management and
vr will be replaced with something better and therefore would be wary
of /large/ investments of effort in the current systems.

Why are they stalled, apart from my time allocation?

QDocks - there's probably some issues here with how leo finds widgets,
but I suspect they're not too major.  The problem is the startup
convolutions, getting find and spell tabs init'ed properly relative to
the log tab.  Conceptually I don't think these things are related, but
evolution wise I understand their intertwining.

After that there's some work needed for layout / widget persistence,
possible pitfall there with Qt 5 having better QDocks API than Qt 4, not
sure about that.

leo_edit_pane - need to get Leo syntax highlighting and keybinding
working on the edit view.  Recent increase in knowledge of the
highlighter might help with that bit, might try and get that done and
then hope Edward can help with the key binding stuff.

Cheers -Terry

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: New command in context menu over splitter handle

2017-07-13 Thread Edward K. Ream
On Thu, Jul 13, 2017 at 8:12 AM, vitalije  wrote:

> Fixed at cc86d25.
>>
>> There were also problem if executed on splitter between tree and body
> without vr pane. Now it is fixed (I hope).
>

​Thanks.  It works for me.

Edward

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: New command in context menu over splitter handle

2017-07-13 Thread vitalije
Fixed at cc86d25.
>
> There were also problem if executed on splitter between tree and body 
without vr pane. Now it is fixed (I hope).
Vitalije

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: New command in context menu over splitter handle

2017-07-13 Thread Edward K. Ream
On Thu, Jul 13, 2017 at 3:15 AM, vitalije  wrote:

> While dealing with issue #455
> , I have added a new
> menu command in context menu that is shown when user right clicks in
> splitter handle. Its label is *Toggle split/dir. just this *(not best
> label I suppose. Any suggestion is welcome).
>

​Thanks for this.​


It takes two adjacent components and rotates them. If they were left and
> right of handle, they become above and below handle, and vice versa.
>
> This command respects ratios both between two adjacent components and
> between them and rest of the layout.
>

​If I execute this command between the tree pane and the log pane the body
pane's ratio goes to zero.

Edward​

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


New command in context menu over splitter handle

2017-07-13 Thread vitalije
While dealing with issue #455 
, I have added a new 
menu command in context menu that is shown when user right clicks in 
splitter handle. Its label is *Toggle split/dir. just this *(not best label 
I suppose. Any suggestion is welcome).

It takes two adjacent components and rotates them. If they were left and 
right of handle, they become above and below handle, and vice versa.

This command respects ratios both between two adjacent components and 
between them and rest of the layout.

HTH Vitalije

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.