Pad/internal
Greg Pomerantz c789de4b44 Stop the find input clearing itself while typing
The main-loop mirror of the X-button clear was level-triggered:
'FindQuery=="" && widget has text'. But the widget updates on every
keystroke while the logic only stores the query a round-trip later, so any
frame drawn in that window still carried FindQuery=="" and wiped the input
- the periodic self-clearing.

Make it edge-triggered: FindState.ClearSeq bumps once per clear; the frame
carries it as FindClearSeq; main wipes the widget input once per NEW value
(lastFindClearSeq handshake). findClear bumps it; findReset preserves it
(main tracks it monotonically, so a reset to 0 would swallow a later clear).

Tests: unit asserts the bump, monotonicity, and close/reopen preservation.
2026-08-20 13:22:50 -04:00
..
browser Handle drags: 1:1 finger tracking with cross-flip; fix caret/taps on empty lines 2026-08-19 22:34:12 -04:00
editor Stop the find input clearing itself while typing 2026-08-20 13:22:50 -04:00
io/pool Add in-file search (find bar) 2026-08-20 00:02:54 -04:00
perf perf: default-off in-app profiler + debug scroll jumps; verify scroll perf & clamping 2026-08-16 16:53:28 -04:00
test/e2e Find bar X clears the query instead of closing the bar 2026-08-20 13:00:21 -04:00
ui Hide the editor caret while another input has focus 2026-08-20 12:52:31 -04:00