anzu icon indicating copy to clipboard operation
anzu copied to clipboard

anzu-isearch-query-replace: counter is wrong

Open gonewest818 opened this issue 4 years ago • 0 comments

  1. In a buffer containing
AB ab AB ab AB ab.

Perform an isearch-forward for "ab" and the counter correctly shows 6 matches.

Then perform an anzu-isearch-query-replace "ab" to "cd" and the counter shows 3 total matches but offers to replace 6 strings, (1/3), (2/3), (3/3), (4/3), (5/3), (6/3).

  1. In the same buffer perform isearch-forward for "AB" and the counter correctly shows 3 matches.

Then perform anzu-isearch-query-replace "AB" to "cd" and the three "AB" strings are replaced but the counter shows (1/3), (3/3), (5/3).

gonewest818 avatar Mar 31 '20 21:03 gonewest818