[Qt-creator] Search and replace behavior with respect to case in editor

Cristian Tibirna tibirna at kde.org
Fri Nov 30 14:01:56 CET 2012

On Friday 30 November 2012 12:23:53 Harri Pasanen wrote:
> It would be cool if search and replace would preserve case, in the same
> way as Emacs does.
> So
> Search:  testpad
> Replace: numpad
> would produce these replacements:
> testpad -> numpad
> Testpad  -> Numpad


> Bonus points for exceeding Emacs AI in the following cases:
> TestPad -> NumPad    (emacs gives Numpad)
> testPad  -> numPad    (emacs gives numpad)


To be noticed that this can be done (in a limited way) with regexps, but 
having the regular s&r do this automatically is something I had taken for 
granted with XEmacs and would be a nice (and rather powerful) tool to have.

Brownie points to Harri for gathering up the energy to write this (I had 
noticed it since a few years already but never pushed myself all the way 
through to writing here or in bugreports.qt-project about it).

Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org

More information about the Qt-creator mailing list