* @param length the length.
* @return the styles in the specified range.
* @see StyledText#getStyleRanges(int, int)
*/
public StyleRange[] getStyles(final int line, final int column, final int length) {
return (StyleRange[]) syncExec(new ObjectResult() {
public Object run() {
return getControl().getStyleRanges(offset(line, column), length);
}
});