TextView.placeCursorOnscreen

bool placeCursorOnscreen()

Moves the cursor to the currently visible region of the buffer.

Returns

true if the cursor had to be moved.