Pad/internal/ui
Greg Pomerantz 1cbb367b1f Hide the editor caret while another input has focus
The caret was drawn unconditionally, so it kept showing in the main edit
window while key focus sat in the find bar's search input — reading as
if the editor still had focus. drawWrappedText now takes the field's
focus state and draws the caret only when the field is focused
(editorElem.Focused follows FocusedElementID, which is find_bar while
the find bar is open); the caret returns when focus comes back on close.

e2e: the editor TextField reports unfocused while the find bar is open
and focused again after close.
2026-08-20 12:52:31 -04:00
..
icons Add in-file search (find bar) 2026-08-20 00:02:54 -04:00
caret_point_test.go Handle drags: 1:1 finger tracking with cross-flip; fix caret/taps on empty lines 2026-08-19 22:34:12 -04:00
element.go Hide the editor caret while another input has focus 2026-08-20 12:52:31 -04:00
layout.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
render.go Hide the editor caret while another input has focus 2026-08-20 12:52:31 -04:00
unit.go Fix word-wrap scroll jump: visual-line mapping via WrapIndex 2026-08-17 19:46:47 -04:00