ITextInputMethodContext::GetSelectionRange

Gets the range of code point indices that are selected and which end of the selection the caret is at.