Uwe Stöhr wrote:
> > this patch will sort anything in outliner automatically.
> > sort won't be correct for nonascii characters.
>
> This is what I meant, please apply.


this patch was never meant to be applied to trunk, just a help for the ones
really starving for it ;)

to be enough for my taste it would need:
- proper locale support. i don't know any one-liner which could be done.
  QStandardItemModel knows nothing about it; QSortFilterProxyModel would be 
needed
  and i don't (want;) understand the logic of all the TocModel* classes. unless
  Abdel has some idea how this could be solved without to much rework i'm not
  going to touch this more.
- there is no ui for sorting (check box either in preferences or in the pane)
- it is not context sensitive, it will sort any kind of list, while only for
  some of them is it useful (or am i wrong here?)

> That it doesn't sort non-ASCII characters in the right order is no
> problem as you are only one or two entries away in the worst case

you don't know how my language looks like :)

pavel

Reply via email to