StyledText.copy

Copies the selected text to the <code>DND.CLIPBOARD</code> clipboard. <p> The text will be put on the clipboard in plain text format and RTF format. The <code>DND.CLIPBOARD</code> clipboard is used for data that is transferred by keyboard accelerator (such as Ctrl+C/Ctrl+V) or by menu action. </p>

@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>

  1. void copy()
    class StyledText
    void
    copy
    (
    )
  2. void copy(int clipboardType)

Meta