News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

File alphabetizing

Started by Alpha, November 03, 2011, 11:55:51 PM

Previous topic - Next topic

Alpha

I have noticed something a little strange.  In the Projects tab of the Management pane, source files are alphabetized (as expected); however, if the project uses a mix different case files, lower case filenames come after all of the capitalized filenames (see the NassiShneiderman plugin for an example).  Assuming the alphabetizing is based on comparison of ASCII values, the following pseudo-code could be used:

[... gather values to alphabetize ...]
    if(characterValue > 96)
    {
        characterValue -= 32;
    }
[... alphabetize names (displaying original names, not the modified ones) ...]

Jenna

You can test the patch I attached here or in Mortens post (one post below mine).
It does a case insensitive sort.
Even if the cause for creating it is the loadspeed for very large projects (especially) on linux.

Alpha

Thank you jens, that is exactly what I was looking for.  The patch works.  (Except for my error of miss-applying it :(; I had to revert and try again.)