If you create a section of text with multiple sets of attributes, you can assign each set as a separate style with a shortcut and then save them. The Text module automatically detects the different sets of attributes used in the section and assigns each set to a Style button. You can then use shortcuts to apply them.
To assign styles from an existing layer using shortcuts: