gmp 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
2026-06-03 22:17:52 -04:00
2026-06-03 22:17:52 -04:00
S
Description
A simple, high performance text editor.
50 MiB
Languages
Go 92.7%
Shell 4.7%
Java 1.1%
C 0.8%
Python 0.7%