Moves the caret one line up and to the same character offset relative
to the beginning of the line. Moves the caret to the end of the new line
if the new line is shorter than the character offset.
Moves the caret to the beginning of the document if it is already on the
first line.
Adjusts the selection according to the caret change. This can either add
to or subtract from the old selection, depending on the previous selection
direction.
Moves the caret one line up and to the same character offset relative to the beginning of the line. Moves the caret to the end of the new line if the new line is shorter than the character offset. Moves the caret to the beginning of the document if it is already on the first line. Adjusts the selection according to the caret change. This can either add to or subtract from the old selection, depending on the previous selection direction.