Replaces the selection with the text on the <code>DND.CLIPBOARD</code>
clipboard or, if there is no selection, inserts the text at the current
caret offset. If the widget has the SWT.SINGLE style and the
clipboard text contains more than one line, only the first line without
line delimiters is inserted in the widget.
@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>
Replaces the selection with the text on the <code>DND.CLIPBOARD</code> clipboard or, if there is no selection, inserts the text at the current caret offset. If the widget has the SWT.SINGLE style and the clipboard text contains more than one line, only the first line without line delimiters is inserted in the widget.
@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>