place_cursor_onscreen


Description:

public bool place_cursor_onscreen ()

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

Parameters:

this

a TextView

Returns:

true if the cursor had to be moved.