Text.scrollSubstringTo

bool scrollSubstringTo(int startOffset, int endOffset, atk.types.ScrollType type)

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

Parameters

startOffsetstart offset in the text
endOffsetend offset in the text, or -1 for the end of the text.
typespecify where the object should be made visible.

Returns

whether scrolling was successful.