:selText cannot be used to create a selection. To create a selection, the :selStart and :selLengthinstance variables must be used.
Member variable XbpRtf():selText Foundation
Contains the text within the current selection. If no text is selected, return is the empty string ("").
The property contains a character string with the text currently selected. If a character string is assigned to the :selTextinstance variable, the text within the current selection is replaced with the string specified. Also, the current selection is removed and :selLength contains zero.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.