You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ui.text_edit wraps and grows (wrap, auto_height, min_lines, max_lines): long lines break at the box's width at the font backend's line break opportunities (a word wider than the box between grapheme clusters); Up / Down / Home / End, clicks and drags follow the visual lines, the caret at the end of a wrapped line stays there (Text_Area.upstream); the box is as tall as its lines within the limits, then scrolls. ui.text_visual_lines, ui.visual_line_of, ui.Visual_Line (ui/text_lines.odin). Tests: tests/keyboard (text_edit_wrap_test.odin). Example: the composer of examples/fidget.
Caret rectangle: Edit_Result.caret (box coordinates, this build) and ui.text_edit_caret_rect(a) (the caret and the selection's other end, window coordinates, as last drawn) for completion popovers and input method windows.