/** * Cuts the selected text. * * <p>The current selection is first copied to the clipboard and then deleted from the widget. * * @exception SWTException * <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver * </ul> */ public void cut() { checkWidget(); TextUtils.cut(variant, topHandle, this); }