It is not possible to replace a path if the new path differs only in character case
Original Reporter info from Mantis: dummzeuch
-
Reporter name: Thomas Mueller
Original Reporter info from Mantis: dummzeuch
- Reporter name: Thomas Mueller
Description:
If I want to change a given directory in the search path in the "Path Editor" dialog (called from Project -> Project Options -> Compiler Options -> Paths -> Other Unit Files -> ..-Button) it is not possible to replace it when the only difference is the character case, e.g.:
The typo in ...
$ENV(HOMe)/bla/blub
... cannot be corrected to ...
$ENV(HOME)/bla/blub
... without intermediate step like ...
$ENV(HOMEe)/bla/blub
Steps to reproduce:
* create a new project and save it
* Open Project -> Project Options -> Compiler Options -> Paths -> Other Unit Files -> ..-Button
* enter "$ENV(HOMe)/bla/blub", notice the typo: HOME must be all upper case in Linux
* click on the new entry and correct it to "$ENV(HOME)/bla/blub"
* Try to replace the entry -> The "Replace"-Button is disabled.
Additional information:
I realize that this is a border case and that the comparison is meant to be case insensitive, but I see no reason why changing the case of a character should not be a valid change to an entry.
Mantis conversion info:
- Mantis ID: 33902
- OS: Ubuntu
- OS Build: 18.04
- Platform: Linux
- Version: 1.8.4
- Fixed in revision: r58815 (#226118e3)