TextView.placeCursorOnscreen

bool placeCursorOnscreen() nothrow

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

Returns

true if the cursor had to be moved.