Commit e1362eab authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Set Ctrl+E, R as default shortcut for rewrap paragraph

Suggested by dt.
parent ca825d2a
......@@ -3959,7 +3959,7 @@ void BaseTextEditor::rewrapParagraph()
result.append(QLatin1String(" "));
result.append(QLatin1Char(' '));
......@@ -143,7 +143,7 @@ void TextEditorActionHandler::createActions()
m_rewrapParagraphAction = new QAction(tr("&Rewrap Paragraph"), this);
command = am->registerAction(m_rewrapParagraphAction, TextEditor::Constants::REWRAP_PARAGRAPH, m_contextId);
//command->setDefaultKeySequence(QKeySequence(tr("Alt+Q"))); (No default key sequence for now.)
command->setDefaultKeySequence(QKeySequence(tr("Ctrl+E, R")));
advancedMenu->addAction(command, Core::Constants::G_EDIT_FORMAT);
connect(m_rewrapParagraphAction, SIGNAL(triggered(bool)), this, SLOT(rewrapParagraphAction()));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment