Sets the selection and scrolls it into view.
<p>
Indexing is zero based. Text selections are specified in terms of
caret positions. In a text widget that contains N characters, there are
N+1 caret positions, ranging from 0..N
</p>
@param start selection start offset. The caret will be placed at the
selection start when start > end.
@param end selection end offset
@see #setSelectionRange(int,int)
@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>
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_ARGUMENT when either the start or the end of the selection range is inside a
multi byte line delimiter (and thus neither clearly in front of or after the line delimiter)
</ul>
Sets the selection and scrolls it into view. <p> Indexing is zero based. Text selections are specified in terms of caret positions. In a text widget that contains N characters, there are N+1 caret positions, ranging from 0..N </p>
@param start selection start offset. The caret will be placed at the selection start when start > end. @param end selection end offset @see #setSelectionRange(int,int) @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> @exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT when either the start or the end of the selection range is inside a multi byte line delimiter (and thus neither clearly in front of or after the line delimiter) </ul>