getTextSelection

Returns the current text selection.

Return

Current text selection, or null if no text is selected.