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:
@@ -7058,7 +7058,7 @@ void TextEditorWidget::setIfdefedOutBlocks(const QList<BlockRange> &blocks)
|
||||
documentLayout->requestUpdate();
|
||||
}
|
||||
|
||||
void TextEditorWidget::format()
|
||||
void TextEditorWidget::autoIndent()
|
||||
{
|
||||
QTextCursor cursor = textCursor();
|
||||
cursor.beginEditBlock();
|
||||
|
||||
Reference in New Issue
Block a user