diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-10-29 15:43:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-10-29 15:58:00 -0700 |
commit | c1a3616964bfdeb11144c0e7289fc16ba563e84a (patch) | |
tree | 18a6b93c13b61070de189527a4357bfb4c2d9893 /search.lua | |
parent | 1609d79516b2e8f790648fd67614d9edb9c2e24c (diff) | |
download | lines.love-c1a3616964bfdeb11144c0e7289fc16ba563e84a.tar.gz |
bugfix in search UI
This one is ancient and it affects every single one of my forks, including the whole lines2 lineage. The corner case: searching for empty string. In the process I've also cleaned up edit.check_locs on initialization to only modify cursor if it can find a legal place for it. In general I should be more careful about mutating the cursor. Just adding 1 to it is irresponsible.
Diffstat (limited to 'search.lua')
0 files changed, 0 insertions, 0 deletions