Pad/internal
Greg Pomerantz ebd264150d editor/search: fix nil-handler click crash and '1 / 0' match counter
Tapping the find-bar/browser search input (MAIN-owned GioEditors with no
tap interaction) registered a click region with a nil handler; the logic
loop called the nil handler and panicked the goroutine. Skip nil-handler
clicks in CheckGestures (the widget handles its own click for focus/caret)
and guard the input loop so a malformed event can never panic.

Fix the '1 / 0' counter on session restore with an empty query: FindState.Cur
is documented '-1 when none selected' but its Go zero value is 0, so a
restored/reset state with no matches read as 'match 1 of 0'. Only print
'N / M' when Cur is a valid index, and reset Cur=-1 in findReset and the
restore path.
2026-10-26 22:19:44 -04:00
..
browser Restore the browser directory in the background; drop the startup probe 2026-10-08 22:59:51 -04:00
editor editor/search: fix nil-handler click crash and '1 / 0' match counter 2026-10-26 22:19:44 -04:00
io/pool IME: map commits against the whole buffer; drop the renderer-side model 2026-09-13 11:57:38 -04:00
perf Add pre-release frame-regression profiling 2026-08-20 14:18:08 -04:00
test/e2e IME: accept the one stale-caret commit after a key-event edit; fix the IME hold 2026-09-19 21:52:35 -04:00
ui editor/search: fix nil-handler click crash and '1 / 0' match counter 2026-10-26 22:19:44 -04:00