setClipboardContent(selection.x, length);
setClipboardContent(selection.x, length, DND.CLIPBOARD);
public void cut(){	checkWidget();	int length = selection.y - selection.x;		if (length > 0) {		try {			setClipboardContent(selection.x, length);		}		catch (SWTError error) {			// Copy to clipboard failed. This happens when another application 			// is accessing the clipboard while we copy. Ignore the error.			// Fixes 1GDQAVN			// Rethrow all other errors. Fixes bug 17578.			if (error.code != DND.ERROR_CANNOT_SET_CLIPBOARD) {				throw error;			}			// Abort cut operation if copy to clipboard fails.			// Fixes bug 21030.			return;		}		doDelete();	}}