Skip to content

Find sometimes doesn't match properly when typing fast in not so small file (but not big either) #5605

@Alexey-T

Description

@Alexey-T

Discussed in #5604

Originally posted by pintassilgo April 20, 2024
I downloaded the latest release and tested again the Find with Im, the same test when I reported #5471 (typing "mousepad" in my fast typing speed in a 265k chars file). Now there are no missing chars, but there's a little freezing in Cuda before the word appears in find input, and sometimes the find doesn't work properly.

Document has a single match of "mousepad", but sometimes Cuda state is that wrong: current match is "mou" from one "mouse" word (there are many in the document), while find input is "mousepad" and status shows "Found next match (wrapped, edge-cross, from-caret)". If I press F3, Cuda jumps to the correct "mousepad" match. But I shouldn't need to press F3. Find input is "mousepad", so this word in document must already be the match, not "mou".

Results vary when I try to reproduce. It just happened that "Mousepa" is matched, missing the last "d" char as if find input was "mousepa", but it's not, it's "mousepad". Again, if I press F3 it fixes by including the "d" char in the match.

The screenshot below is similar, but the match is "mousep", missing "ad", but Find input is "mousepad" so it's wrong.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions