StyledText.getBidiSegments

Returns the text segments that should be treated as if they had a different direction than the surrounding text.

@param lineOffset offset of the first character in the line. 0 based from the beginning of the document. @param line text of the line to specify bidi segments for @return text segments that should be treated as if they had a different direction than the surrounding text. Only the start index of a segment is specified, relative to the start of the line. Always starts with 0 and ends with the line length. @exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the segment indices returned by the listener do not start with 0, are not in ascending order, exceed the line length or have duplicates</li> </ul>

class StyledText
package
int[]
getBidiSegments
(
,
String line
)

Meta