Return the current selection text and its bounding rect if available.
Selection information or null when no usable selection exists.
Return the current selection text and its bounding rect if available.