Skip to content

Replace next --> Replace this #27

Description

@EddieTheWild

When finding&replacing text, the first ocurrence is square-marked. If you click on "Replace next", the first ocurrence is not replaced but the next one, and now the next (and third) ocurrence is square-marked, uf you click on "Replace next", that one is not replaced but the next one, etc. The result is a very weird replacement every two ocurrences.

I would suggest to move from "Replace next" to "Replace this" to replace the one currently square-marked, and then automatically move to and square-mark the next one.

Activity

  1. EddieTheWild commented on Nov 1, 2023

    @EddieTheWild
    Author

    Strange behaviour also with the "Match whole words" find option. When off, finding "h$" in the sample text in attached pics gets 24 matches, and only 2 when it is on.

    1 2

    Why not finding it in "(h$=" or " h$=" but yes in ";h$" when that option is on?

  2. gusmanb commented on Nov 2, 2023

    @gusmanb
    Owner

    This is a bug in AvaloniaEdit, the editor control we use, I already opened a bug on summer but still has not been fixed.

    AvaloniaUI/AvaloniaEdit#355

  3. gusmanb commented on Jan 14, 2024

    @gusmanb
    Owner

    I've been working with the AvaloniaEdit guys this past week and the patch will be included in their next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions