Pad/internal/ui
Greg Pomerantz 5716d208b8 Highlight search matches in the text view
- ui: TextField gains MatchRanges (window-relative byte ranges) +
  CurrentMatch; drawWrappedText draws a per-glyph highlight pass (same
  tiling as the selection, so wrapped lines are covered): all matches in
  translucent yellow, the selection in blue as before, and the current
  match in stronger orange on top so it stands out.
- editor: EditorLayout windows the absolute FindState matches into the
  visible content (binary search on the sorted ranges, clamp to the
  window) and stamps them on the editor TextField.
- e2e: poll the captured frames until the highlight data lands; assert
  all matches are windowed, each highlights a "needle", and
  CurrentMatch follows FindNext.
2026-08-20 06:29:09 -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 Highlight search matches in the text view 2026-08-20 06:29:09 -04:00
layout.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
render.go Highlight search matches in the text view 2026-08-20 06:29:09 -04:00
unit.go Fix word-wrap scroll jump: visual-line mapping via WrapIndex 2026-08-17 19:46:47 -04:00