summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-03-03 16:18:35 +0100
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-03-03 16:23:48 +0100
commit8080aac2315cbc173f1be30df78b4b96c19abe21 (patch)
tree396288cc4f761dbca2a6e121ede568d18fb5f8d3 /doc
parent34727753baf721a14b3541ee357416de0d737f90 (diff)
downloadqt-creator-8080aac2315cbc173f1be30df78b4b96c19abe21.tar.gz
Doc: using text editing macros
Reviewed-by: con
Diffstat (limited to 'doc')
-rw-r--r--doc/qtcreator.qdoc37
1 files changed, 36 insertions, 1 deletions
diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc
index adb1b2f8a7..7be05a25ff 100644
--- a/doc/qtcreator.qdoc
+++ b/doc/qtcreator.qdoc
@@ -90,6 +90,7 @@
\o \l{Using Qt Quick Toolbars}
\o \l{Searching With the Locator}
\o \l{Pasting and Fetching Code Snippets}
+ \o \l{Using Text Editing Macros}
\o \l{Configuring the Editor}
\o \l{Using FakeVim Mode}
@@ -1833,6 +1834,39 @@
*/
+/*!
+ \contentspage index.html
+ \previouspage creator-editor-locator.html
+ \page creator-macros.html
+ \nextpage creator-editor-options.html
+
+ \title Using Text Editing Macros
+
+ When 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 \gui {Tools > Macros > Record Macro}
+ or press \key {Alt+(}. To stop recording, select \gui {Tools > Macros >
+ Stop Recording Macro} or press \key {Alt+)}.
+
+ To play the last macro, select \gui {Tools > Macros > Play Last Macro} or
+ press \key {Alt+R}.
+
+ To save the last macro, select \gui {Tools > Macros > Save Last Macro}.
+
+ To assign a keyboard shortcut to a text editing macro, select \gui {Tools >
+ Options... > Environment > Keyboard}. For more information, see
+ \l{Configuring Keyboard Shortcuts}.
+
+ You can also use the \c rm locator filter to run a macro. For more
+ information, see \l{Searching With the Locator}.
+
+ To view and remove saved macros, select \gui {Tools > Options... > Text
+ Editor > Macros}.
+
+*/
/*!
\contentspage index.html
@@ -2018,7 +2052,8 @@
in \gui Display.
\o Add, modify, and remove \l{Editing Code Snippets}{code snippets} in
\gui Snippets.
- \o Edit \l{Recording and Playing Macros}{macros} in \gui Macros.
+ \o View and remove \l{Using Text Editing Macros}{text editing macros}
+ in \gui Macros.
\o Configure \l{Completing Code}{code completion} in \gui Completion.
\endlist