Repeating the Last Action

When you are working in the XML Editor, you can use the F8 shortcut to repeat your last action. This feature uses the same controller that is used when you create macros in Flare Desktop. Therefore, only actions that are supported by the macro controller are supported for the repeat shortcut. See Keyboard Shortcuts and Macros.

Example You are working in a topic where you need to apply a span style class to several words to change the text to blue. You highlight the first word and apply that style class using the Styles window pane. But instead of following those same steps to format all the other words, you use the repeat shortcut. You highlight the next word that needs to be blue and press F8. The blue span style class is applied to that word. You highlight the next word and press F8 again. Once more, the blue span style class is applied. You continue doing this until all the appropriate words have that style class applied.

Next, you realize that you need to turn several paragraphs in the topic into drop-downs. So you select the first group of relevant paragraphs and select Insert > Drop-Town Text to create a drop-down effect. You highlight the next group of relevant paragraphs, but instead of using the option in the Insert ribbon again, you press F8. The drop-down effect is applied to those paragraphs. You continue to use the F8 shortcut until all the necessary content in the topic is turned into drop-downs.

Tip If you prefer to use a shortcut other than F8 for this feature, you can open the Options dialog (File > Options), select the Keyboard Shortcuts tab, choose XML Editor in the top field, and assign the Repeat action to a different key. See Changing Hot Keys.

Note Although you can only repeat an action if that action is supported by the macro controller, you do not need to have assigned a macro to your action in order to repeat it. This lets you repeat occasional actions without having to spend time recording a macro.