getSelection

abstract fun getSelection(): S

Returns the current selection.