LineEditor class
The text and cursor of an input field, with the usual editing commands.
Text is kept as a list of characters (runes) so the cursor never lands
inside a surrogate pair. Lines are separated by \n.
Constructors
Properties
Methods
-
backspace(
) → void -
clear(
) → void -
deleteForward(
) → void -
deleteWordBefore(
) → void -
down(
) → bool - Moves to the line below, keeping the column. False on the last line.
-
end(
) → void -
home(
) → void -
insert(
String text) → void -
killToEnd(
) → void - Deletes to the end of the line, or the line break when already there.
-
killToStart(
) → void -
left(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
right(
) → void -
set(
String text) → void -
toString(
) → String -
A string representation of this object.
inherited
-
up(
) → bool - Moves to the line above, keeping the column. False on the first line.
-
wordLeft(
) → void -
wordRight(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited