On Wed, 12 Jun 2013 14:23:23 -0400
Jacob Peck <[email protected]> wrote:

> When I'm working on a todo list and I want to sort by priority... take 
> for example the following outline:
> 
> ----
> To Do
>      (2) Bar
>      (3) Baz
>      (1) Foo
> ----
> 
> It seems natural to me to right-click on "To Do" and do Task -> Priority 
> -> Priority Sort... however that does nothing.  Instead I have to go to 
> one of the nodes of the same level as the list, i.e., Baz, and to the 
> above to get it to sort by priority.  Is this a bug, or intended 
> behavior?  

Any reason it can't be both?  :-)

Leo core has both sort children and sort siblings, and I guess I
modeled todo.py sorting after the sort sibilings function, either
because it was easier or arbitrarily.  

Maybe sometimes sort siblings is marginally easier if it saves you
having to navigate to the parent just to perform a sort, I know that's
a minor thing, but for alpha sorting at least that's sometimes handy.

Quick glance suggests 'sortSiblings' -> 'sortChildren' in todo.py would
be all that was needed.   Can't remember if you have commit rights, but
change it if you do and if you want, otherwise I'll do it.

Cheers -Terry

> Either way, it's inconsistent, as Task -> Priority -> 
> Redistribute works on "To Do".
> 
> Thanks,
> -->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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to