Text.scrollSubstringTo

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

interface Text
bool
scrollSubstringTo

Parameters

startOffset int

start offset in the text

endOffset int

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

type atk.types.ScrollType

specify where the object should be made visible.

Return Value

Type: bool

whether scrolling was successful.