Returns the character offsets of the selection's anchor and focus points as an [anchor, focus] tuple.