There are set field and Insert script steps that can be used in combination with text formatting functions such as Text Style Add and functions that detect the position and length of selected text in the field to do such a thing.
Do you perhaps have an example? I am having problems to get this working in the right way.
(Select a part of a text field and change the text style by button).
Thanks in advance,