Break down `getSelectionStartFromPointer` even more