Hi Paul,
sounds like an awful lot of work for a negligible improvement, I
think you have more important things to do in ZBS than this. I can live
with status quo.
Thanks,
Mattes
On 17. 9. 2016 6:10, Paul K wrote:
Hi Mattes,
sorry for the late answer. The project filelist sorting is okay, no need to
worry about it.
ok.
It seems impossible to change the locale for a single application in Windows, since the
locale is a global setting; however, I found an interesting workaround - the setting is
per-user, so I could create a new user, set their locale to what I need and then set ZBS
to run under that user (shift+click on the shortcut file, "run as different
user"). I don't think all this hassle is worth it, though.
I agree; I don't think it's worth the hassle. I took another look and
unfortunately wxwidgets doesn't provide a way to change the position
of an item in wxtreectrl or to copy an item, so to re-order items
would mean to create them in a different order (which creates a bit of
an issue with sub-trees and existing expand/collapse states).
One hackish workaround I can think about is to (temporarily) update
the text to the one that would match the order you need, sort the
items, and update the text to the original one. It would generate the
order you need and still keep the existing look/text. I might be able
to allow `outline.sort` to take a function that will be used in custom
sorting and (assuming you can come up with a proper way to sort using
the logic above) this may produce the result you expect. Obviously
it's likely to be slower (as there is additional time spent on
renaming the items twice, but you can probably "freeze" the control
which will avoid the window refresh/modification after all the
changes).
I think it may be a workable option if you really want to do it.
Paul.