Skip to main content

Module edit_text_box

Module edit_text_box 

Source

Enums§

EditTextBox
Edit a text box’s multi-line content. Entered from AddText (right after a box is created) or by double-clicking a selected text box in ResizeBlock — never from the toolbar, so it always carries the box it is editing. Commits on focus loss; an Enter keystroke inserts a newline instead (the editor is multi-line). An edit left empty discards the box.

Functions§

editor_rect 🔒
The editor’s rect: where the box draws its text. The field is fitted round the text from there.