stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.74k stars 180 forks source link

Upating the search/replace text fields during a replacement is taken into account #426

Closed chacha21 closed 1 year ago

chacha21 commented 1 year ago

After launching a search/replace operation (that can take some time), I want to "prepare" the next search/replace by changing the content of the search/replace text fields. But currently, updating the search/replace text fields during a search/replace operation is taken into account immediately in the currently executing search/replace operation. It is unexpected and in my case undesirable.

stefankueng commented 1 year ago

I don't think this is really what happens. Because all search data (search and replace strings, settings like date range, search path, file flags to search, ...) are read from the UI when you click the search button and stored. While the search/replace is going on, you can change the UI values as you like, but they're NOT taken into account immediately. If it is for you, you have to provide much more info on how you get it to do that.

chacha21 commented 1 year ago

I can't reproduce what I have observed previously. I will reopen if I can exhibit it again