Text.scrollSubstringToPoint
bool scrollSubstringToPoint(int startOffset, int endOffset, atk.types.CoordType coords, int x, int y)Move the top-left of a substring of text to a given position of the screen by scrolling all necessary parents.
Parameters
startOffset | start offset in the text |
endOffset | end offset in the text, or -1 for the end of the text. |
coords | specify whether coordinates are relative to the screen or to the parent object. |
x | x-position where to scroll to |
y | y-position where to scroll to |
Returns
whether scrolling was successful.