[Lazarus] "Sort files alphabitically" is case-sensitive :-(
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Nov 14 20:27:08 CET 2011
Mattias Gaertner schrieb:
> On Mon, 14 Nov 2011 15:56:00 +0200
> Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
>
>> Hi,
>>
>> I updated my Lazarus to the latest Trunk revision. I see there is now
>> a "sort files alphabetically" option in the Project Inspector.
>>
>> Unfortunately the sorting seems to be case-sensitive. So units with
>> capital letters appear before units with lowercase letters. Was this
>> done by design, or simply an oversight?
>
> Design.
> It sorts file names, so case sensitive under Linux and case
> insensitive under Windows and OS X.
IMO a project contains *units* in the first place, and unit names are
case insensitive. It's not allowed to add a unit twice, with only
different filename case.
Consequently project file sorting should be case insensitive, unique
across platforms.
DoDi
More information about the Lazarus
mailing list