Re: [TSVN] Sort order in commit / revert dialog
Martin Eckardt wrote:
> Lübbe Onken wrote:
>> Hi Folks,
>> There's a tiny annoyance in these dialog. The entries are sorted, but
>> case isn't ignored. Thus an entry like 'aaa' is near the end of a
>> list where
>> I wouldn't search for it, when the other entries start with capital
>> Currently we have:
>> . insert as many as you like so that 'aaa' scrolls off the screen
>> aaa <- Oh, that's where they are hiding!
>> Should be:
>> I haven't checked whether other dialogs sort like this as well. I
>> commit and revert. Possibly add. Others?
> Don't we use the sorting of the mfc controls? I just looked into
> LogDlg.cpp and couldn't find anything about sorting.
> I searched the mailing and found a message from stefan 06.09.04:
> Changed the resources in revision 1649 - the feature was implemented
> already, but the resources had the "no sort headers" set to true.
> This has something to do with the check for update dialog, but I think
> we use it in the commit dialog, too.
> Could we change the behaviour windows sorts the columns in the controls?
We do the sort ourself. The Svn/SVNStatusListCtrl.cpp is used in the
commit dialog. There is a Funrction CSVNStatusListCtrl::Sort(), where
qsort() is called (Line 764). ANSI-C defined in stdlib.h I think. But
why this algorithm does non cases sensitive sorting, could probably only
be answered by Steve.
MicroNova electronic GmbH
Kommunikation und Telekommunikation
Tel.: (08139) 93 00-41
Fax.: (08139) 93 00-80
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Nov 15 14:55:23 2004
This is an archived mail posted to the TortoiseSVN Dev