A simple, high performance text editor.
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. |
||
|---|---|---|
| .qwen | ||
| cmd/pad | ||
| doc | ||
| internal | ||
| scripts | ||
| tools/touchinject | ||
| .DS_Store | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||