Module ted::cursor::jump [] [src]

Functions that compute new cursor positions.

Functions

die
left

Go one char to the left.

line_end

Go to the last char on the line.

line_start

Go to the first char on the line.

right

Go one char to the right.

select_lines
select_words
skip
spawn

Returns the new positions if a cursor was spawned.

vertical

Tries to keep the x position if possible.

word_left

Go to the previous word boundary.

word_right

Go to the next word boundary.