multiline property

bool multiline
getter/setter pair

Whether to enable multi-line editing.

When true:

  • Enter/Shift+Enter inserts a newline character
  • Text soft-wraps at width columns
  • Up/Down arrows navigate between lines instead of suggestions
  • Home/End move to start/end of current line (Ctrl+Home/Ctrl+End for document)
  • Vertical scrolling is used when content exceeds maxHeight
  • Suggestions are disabled

When false (default), preserves existing single-line behavior.

Implementation

bool multiline;