forked from qt-creator/qt-creator
Editor: Rename format -> autoIndent
Renaming the auto indent function triggered by Ctrl+I to make room for a real format action. Change-Id: If5731353311030d66a20f1093a7fdd300703ebbc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -324,7 +324,7 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
// register "Edit -> Advanced" Menu Actions
|
||||
Core::ActionContainer *advancedEditMenu = Core::ActionManager::actionContainer(M_EDIT_ADVANCED);
|
||||
m_formatAction = registerAction(AUTO_INDENT_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->format(); }, true, tr("Auto-&indent Selection"),
|
||||
[] (TextEditorWidget *w) { w->autoIndent(); }, true, tr("Auto-&indent Selection"),
|
||||
QKeySequence(tr("Ctrl+I")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_rewrapParagraphAction = registerAction(REWRAP_PARAGRAPH,
|
||||
|
||||
Reference in New Issue
Block a user