[Eric] Suggestion for search and replace

Leonardo Giordani giordani.leonardo at gmail.com
Thu Jan 5 14:17:13 GMT 2012


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


More information about the Eric mailing list