clarify a misleading test
I'm still using these to periodically reassure myself about the state of
lines2 and its descendants.
delete redundant method description
simpler implementation of bugfix #2
bugfix #3, attempt #2 in search UI
Avoid accidental side-effects.
bugfix #3 in search UI
This is a regression. Scenario: search for a string, then backspace
until it goes empty.
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.
bugfix: restart search on backspace
Ported from bugfix of 2024-06-23.
transparent highlights work with more colors
don't always pop up keyboard on mobile devices
We don't want to do this during app initialization because other forks
might not start out with an editor on screen even if this one does.
We don't want to perform this side-effect on edit.mouse_press, which
also runs in tests.