WrapMode

class WrapMode

Describes a type of line wrapping.

Fields

class WrapMode
CHAR

Wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see get_log_attrs())

NONE

Do not wrap lines; just make the text area wider

WORD

Wrap text, breaking lines in between words

WORD_CHAR

Wrap text, breaking lines in between words, or if that is not enough, also between graphemes