[Eric] Suggestion for search and replace

Detlev Offenbach detlev at die-offenbachs.de
Thu Jan 5 14:37:39 GMT 2012


Hello,

that sounds like a good idea. I'll have to look into it. Currently the search and replace in the editor is provided by the QScintilla editor widget. I have to check, if I can persuade it to do something similar to your suggestion.

Regards,
Detlev

Am 05.01.2012 um 15:17 schrieb Leonardo Giordani:

> Sometimes when replacing with regular expressions (especially with
> groups) I'm not totally sure that my substitution will be correct.
> 
> With the current search and replace there is no easy way to know if it
> went good since when hitting the replace button the selection jumps
> immediately to the next match.
> Even stopping the replace means that you have to search backwards the
> last substitution, which is not simple if it went bad.
> 
> Could it be possible to preview the line as it will be after the substitution?
> I mean something like copying the line in a temporary buffer, perform
> the substitution on it and show above the current line, with a colored
> background.
> 
> Thank you,
> 
> Leo
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

Detlev Offenbach
detlev at die-offenbachs.de



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20120105/d3cdff4a/attachment.pgp>


More information about the Eric mailing list