Inserts a string. The old selection is replaced with the new text.
@param string the string
@see #replaceTextRange(int,int,String)
@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>
Inserts a string. The old selection is replaced with the new text.
@param string the string @see #replaceTextRange(int,int,String) @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>