A simple, high performance text editor.
Go to file
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
.qwen Add ShapeText/DrawShapedText: single shaper call, zero-call drawing 2026-05-12 12:06:28 -04:00
cmd/pad Fix activity-recreation crash: give Permissions a no-arg constructor 2026-10-12 16:43:10 -04:00
doc IME: accept the one stale-caret commit after a key-event edit; fix the IME hold 2026-09-19 21:52:35 -04:00
internal editor/search: fix nil-handler click crash and '1 / 0' match counter 2026-10-26 22:19:44 -04:00
scripts Streamline repro_gioui_hang.sh 2026-10-13 16:57:46 -04:00
tools/touchinject Pinch-to-font-size (continuous, content-point pinned) + IME-open scroll fix 2026-08-23 09:00:51 -04:00
.DS_Store Add drawPng function to Renderer for PNG icon rendering 2026-05-10 06:26:29 -04:00
.gitignore Pinch-to-font-size (continuous, content-point pinned) + IME-open scroll fix 2026-08-23 09:00:51 -04:00
go.mod IME: guard distant commits; arm the resync on the first anomaly 2026-09-13 22:31:28 -04:00
go.sum IME: guard distant commits; arm the resync on the first anomaly 2026-09-13 22:31:28 -04:00