Values

LEFT

Moves the cursor one character to the left.

RIGHT

Moves the cursor one character to the right.

UP

Moves the cursor up to the previous line.

DOWN

Moves the cursor down to the next line.

TOP

Moves the cursor to the beginning of the text.

BOTTOM

Moves the cursor to the end of the text.

LINE_LEFT

Moves the cursor to the beginning of the current line.

LINE_RIGHT

Moves the cursor to the end of the current line.

WORD_LEFT

Moves the cursor to the beginning of the previous word, or the start of the text if there aren't any more words.

WORD_RIGHT

Moves the cursor to the beginning of the next word, or the end of the text if there aren't any more words.