TextWrap
Immutable wrapping policy shared by displayed multiline text and editable text areas.
Wrapping changes presentation only and never inserts characters into caller-owned text. Breaks never split a Unicode scalar; grapheme-cluster navigation and layout are not implied. Values own no runtime resources and may be shared across threads.
Entries
Link copied to clipboard
Prefers breakable whitespace boundaries and splits an overlong segment at Unicode scalar boundaries. NBSP, figure space, and narrow NBSP are not preferred boundaries; an overlong unbroken segment still uses scalar fallback. This intentionally limited policy does not implement a language-specific line-breaking engine.