getSelectionSpan