This reverses the default for case sensitivity when searching for files with particular text.
Details
Diff Detail
- Repository
- R167 Krusader
- Lint
Lint Skipped - Unit
Unit Tests Skipped
I personally don't care. Default search with grep is case sensitive. Any other opinions?
The arguments about default case insensitivity in editors are convincing. But I'm heavy user of this search dialog and like the default case-sensitive setting which is on par with grep (like Alex just said). Maybe the best solution would be to make the setting persistent over Krusader restarts?
Well, grep is a command line utility - usability isn't a huge concern with those. I think that grep's default behavior wasn't motivated by expectations of human beings (people rarely expect case-sensitive search) but rather performance concerns (back when grep was conceived the performance overhead of lowercasing strings was considerable). As far as GUI tools go, I don't know any where case-sensitive search would be the default, and I wouldn't expect it either. In fact, I filed this bug after wondering why my search didn't turn up any results. So IMHO remembering these settings across restarts (or rather the selected search profile) would be nice to have but not a replacement for sane defaults.
I find these arguments good enough to set the default to case insensitive, like You proposed :).
As far as GUI tools go, I don't know any where case-sensitive search would be the default, and I wouldn't expect it either.
I've looked and: Kate, Konsole, Dolphin, Okular, etc. have case-insensitive search by default...
Like I said, I don't really care. In KFind case sensitivity is also off by default.
However, the better solution would be to save the option setting in the Search KConfigGroup so that this only matters the first time the search is used.