Using Text Editing Macros
To record a text editing macro, select Tools > Text Editing Macros > Record Macro or press Alt+[. To stop recording, select Tools > Text Editing Macros > Stop Recording Macro or press Alt+].
Note: The macro recorder does not support code completion.
To play the last macro, select Tools > Text Editing Macros > Play Last Macro or press Alt+R.
To save the last macro, select Tools > Text Editing Macros > Save Last Macro.
To assign a keyboard shortcut to a text editing macro, select Edit > Preferences > Environment > Keyboard. For more information, see Configuring Keyboard Shortcuts.
You can also use the rm
locator filter to run a macro. For more information, see Searching with the Locator.
To view and remove saved macros, select Edit > Preferences > Text Editor > Macros.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.