Skip to content

anzu-isearch-query-replace: counter is wrong #110

@gonewest818

Description

@gonewest818
  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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga feature isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions