Bug #16673 2010-01-17 19:13
xoft
Sort project files regardless of case
Files in project manager are now sorted by file name case sensitive, which is rather counter-intuitive. It'd be nice to have sorting that would ignore case.
A simple fix does this:
cbproject.cpp(832):
int filesSort(const ProjectFile** arg1, const ProjectFile** arg2)
{
return (*arg1)->file.GetFullPath().CompareTo((*arg2)->file.GetFullPath());
}
replace with:
int filesSort(const ProjectFile** arg1, const ProjectFile** arg2)
{
return (*arg1)->file.GetFullPath().CmpNoCase((*arg2)->file.GetFullPath());
}
(note the function called, CompareTo() vs. CmpNoCase()
- Category
- Application::Interface
- Group
- Status
- Open
- Close date
- Assigned to