public final class WrapMode
extends org.freedesktop.bindings.Constant
setWrapMode()
method.Modifier and Type | Field and Description |
---|---|
static WrapMode |
CHAR
Wrap text, breaking lines anywhere the cursor can appear (between
characters, usually)
|
static WrapMode |
NONE
Do not wrap lines; attempt to make the TextView as wide as the widest
line in the underlying TextBuffer; lines will be truncated if they are
longer than the width allocated to the TextView.
|
static WrapMode |
WORD
Wrap text, breaking lines in between words.
|
static WrapMode |
WORD_CHAR
Wrap text, breaking lines in between words, or if that is not enough,
also between graphemes.
|
public static final WrapMode CHAR
public static final WrapMode NONE
public static final WrapMode WORD
public static final WrapMode WORD_CHAR