copySelection

abstract fun copySelection(): String(source)

Copy the selected text to clipboard and clear the selection.

Return

The selected text, or empty string if no selection