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
> Testpad  -> Numpad

+1

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

+100

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 .. [email protected] .. http://www.kde.org

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to