scroll_substring_to


Description:

public bool scroll_substring_to (int start_offset, int end_offset, ScrollType type) throws Error

Scrolls whatever container of the Text text range so it becomes visible on the screen.

Parameters:

this

a pointer to the Text object on which to operate.

start_offset

a int indicating the start of the desired text range.

end_offset

a int indicating the first character past the desired range.

type

a ScrollType indicating where the object should be placed on the screen.

Returns:

TRUE if successful, FALSE otherwise.