TextView.placeCursorOnscreen

Moves the cursor to the currently visible region of the buffer, it it isn’t there already.

class TextView
bool
placeCursorOnscreen
()

Return Value

Type: bool

TRUE if the cursor had to be moved.