scroll_substring_to


Description:

[ Version ( since = "2.32" ) ]
public abstract bool scroll_substring_to (int start_offset, int end_offset, ScrollType type)

Makes a substring of this visible on the screen by scrolling all necessary parents.

Parameters:

this

an Text

start_offset

start offset in the this

end_offset

end offset in the this, or -1 for the end of the text.

type

specify where the object should be made visible.

Returns:

whether scrolling was successful.