TextLayout.getRanges

Gets the ranges of text that are associated with a <code>TextStyle</code>.

@return the ranges, an array of offsets representing the start and end of each text style.

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@see #getStyles()

@since 3.2

class TextLayout
int[]
getRanges
(
)

Meta