Using Text Editing MacrosWhen you have a file open in the code editor, you can record a keyboard sequence as a macro. You can then play the macro to repeat the sequence. You can save the latest macro and assign a keyboard shortcut for running it or run it from the locator. To record a text editing macro, select Tools > Macros > Record Macro or press Alt+(. To stop recording, select Tools > Macros > Stop Recording Macro or press Alt+). To play the last macro, select Tools > Macros > Play Last Macro or press Alt+R. To save the last macro, select Tools > Macros > Save Last Macro. To assign a keyboard shortcut to a text editing macro, select Tools > Options... > 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 Tools > Options... > Text Editor > Macros. [Previous: Pasting and Fetching Code Snippets] [Next: Configuring the Editor] © 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia. Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. X
|