Pad/internal/ui
Greg Pomerantz eb725ee781 Fix word-wrap toggle: actually stop wrapping when disabled
The bottom-bar 'Wrap: On/Off' toggle flipped State.WordWrap and relabelled
itself, but the render path never read the flag: NewTextField hardcoded
WordWrap: true and drawWrappedText always shaped at the region width with
WrapHeuristically, so lines wrapped in both modes.

NewTextField now takes the wordWrap flag, TextField.Draw passes tf.WordWrap
to drawWrappedText, and with wrap disabled the shaper gets unlimited width
(MaxWidth = maxInt32, as in single-line layout) so over-long lines extend
past the region and are clipped instead of wrapping. EditorLayout passes
its existing wordWrap parameter through.
2026-08-19 22:35:13 -04:00
..
icons Browser page: scroll + click coexist via register order fix 2026-05-27 12:14:25 -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 Fix word-wrap toggle: actually stop wrapping when disabled 2026-08-19 22:35:13 -04:00
layout.go Add word-wrapped text display with two-finger scroll 2026-05-26 20:26:20 -04:00
render.go Fix word-wrap toggle: actually stop wrapping when disabled 2026-08-19 22:35:13 -04:00
unit.go Fix word-wrap scroll jump: visual-line mapping via WrapIndex 2026-08-17 19:46:47 -04:00