forked from qt-creator/qt-creator
Macros -> Text Editing Macros
Otherwise people might expect to much from it. Change-Id: I2023db821dd1f1fc2773c947c29479082cd8c5fc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -1056,16 +1056,16 @@
|
|||||||
|
|
||||||
\title Using Text Editing Macros
|
\title Using Text Editing Macros
|
||||||
|
|
||||||
To record a text editing macro, select \uicontrol {Tools > Macros > Record Macro}
|
To record a text editing macro, select \uicontrol {Tools > Text Editing Macros > Record Macro}
|
||||||
or press \key {Alt+(}. To stop recording, select \uicontrol {Tools > Macros >
|
or press \key {Alt+(}. To stop recording, select \uicontrol {Tools > Text Editing Macros >
|
||||||
Stop Recording Macro} or press \key {Alt+)}.
|
Stop Recording Macro} or press \key {Alt+)}.
|
||||||
|
|
||||||
\note The macro recorder does not support code completion.
|
\note The macro recorder does not support code completion.
|
||||||
|
|
||||||
To play the last macro, select \uicontrol {Tools > Macros > Play Last Macro} or
|
To play the last macro, select \uicontrol {Tools > Text Editing Macros > Play Last Macro} or
|
||||||
press \key {Alt+R}.
|
press \key {Alt+R}.
|
||||||
|
|
||||||
To save the last macro, select \uicontrol {Tools > Macros > Save Last Macro}.
|
To save the last macro, select \uicontrol {Tools > Text Editing Macros > Save Last Macro}.
|
||||||
|
|
||||||
To assign a keyboard shortcut to a text editing macro, select \uicontrol {Tools >
|
To assign a keyboard shortcut to a text editing macro, select \uicontrol {Tools >
|
||||||
Options > Environment > Keyboard}. For more information, see
|
Options > Environment > Keyboard}. For more information, see
|
||||||
|
@@ -45,7 +45,7 @@ MacroLocatorFilter::MacroLocatorFilter():
|
|||||||
m_icon(QPixmap(QLatin1String(":/macros/images/macro.png")))
|
m_icon(QPixmap(QLatin1String(":/macros/images/macro.png")))
|
||||||
{
|
{
|
||||||
setId("Macros");
|
setId("Macros");
|
||||||
setDisplayName(tr("Macros"));
|
setDisplayName(tr("Text Editing Macros"));
|
||||||
setShortcutString(QLatin1String("rm"));
|
setShortcutString(QLatin1String("rm"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -77,7 +77,7 @@ bool MacrosPlugin::initialize(const QStringList &arguments, QString *errorMessag
|
|||||||
Core::ActionContainer *mtools = Core::ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
Core::ActionContainer *mtools = Core::ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
||||||
Core::ActionContainer *mmacrotools = Core::ActionManager::createMenu(Constants::M_TOOLS_MACRO);
|
Core::ActionContainer *mmacrotools = Core::ActionManager::createMenu(Constants::M_TOOLS_MACRO);
|
||||||
QMenu *menu = mmacrotools->menu();
|
QMenu *menu = mmacrotools->menu();
|
||||||
menu->setTitle(tr("&Macros"));
|
menu->setTitle(tr("Text Editing &Macros"));
|
||||||
menu->setEnabled(true);
|
menu->setEnabled(true);
|
||||||
mtools->addMenu(mmacrotools);
|
mtools->addMenu(mmacrotools);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user