TextT.scrollSubstringTo

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

template TextT(TStruct)
bool
scrollSubstringTo
(,,
AtkScrollType type
)

Parameters

startOffset int

start offset in the @text

endOffset int

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

type AtkScrollType

specify where the object should be made visible.

Return Value

Type: bool

whether scrolling was successful.

Meta

Since

2.32