Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs after searching Regex backwards #95

Open
scriptum opened this issue Jul 3, 2015 · 2 comments
Open

Hangs after searching Regex backwards #95

scriptum opened this issue Jul 3, 2015 · 2 comments

Comments

@scriptum
Copy link

scriptum commented Jul 3, 2015

Aporia hangs after searching regexp .* backwards (Ctrl+F, type .*, select Regex, press "Previous") if document not empty.

nim 0.11.3, aporia 0.1.3 (that was in About dialog) or 0.2 in aporia.babel.

@achesak
Copy link
Contributor

achesak commented Sep 1, 2016

Also happens with simply .

@achesak
Copy link
Contributor

achesak commented Sep 4, 2016

That previous comment is incorrect, these appear to be separate issues. Aporia doesn't handle single character match searches correctly, but even when this is fixed the behavior for .* is not as it should be.

The issue here is that .* will continually match the first line, and gets stuck in a loop. The behavior for .* forwards search is broken as well. Place the cursor in the middle of a line, and the first find will match the rest of that line, but any subsequent ones will get stuck on the first line in the file.

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

Successfully merging a pull request may close this issue.

3 participants