TextView.placeCursorOnscreen

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

class TextView
bool
placeCursorOnscreen
()

Return Value

Type: bool

true if the cursor had to be moved.