Aporia
Aporia copied to clipboard
Hangs after searching Regex backwards
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
.
Also happens with simply .
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.