TextArea.SelPlain

From Xojo Documentation

Property (As Boolean )
aTextArea.SelPlain = newBooleanValue
or
BooleanValue = aTextArea.SelPlain

Supported for all project types and targets.

If True, the selected text is plain. If the selected text is styled (e.g., Bold), setting SelPlain to True change it to Plain.