StyledText.setHorizontalIndex

Sets the horizontal scroll offset relative to the start of the line. Do nothing if there is no text set. <p> <b>NOTE:</b> The horizontal index is reset to 0 when new text is set in the widget. </p>

@param offset horizontal scroll offset relative to the start of the line, measured in character increments starting at 0, if equal to 0 the content is not scrolled, if > 0 = the content is scrolled. @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class StyledText
void
setHorizontalIndex
(
int offset
)

Meta