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