Support directions 'cursor' and 'start' in Selection.collapse().