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:
David Schulz
2019-11-12 12:43:16 +01:00
parent 7792d82bd9
commit 372014b843
7 changed files with 15 additions and 16 deletions

View File

@@ -7058,7 +7058,7 @@ void TextEditorWidget::setIfdefedOutBlocks(const QList<BlockRange> &blocks)
documentLayout->requestUpdate();
}
void TextEditorWidget::format()
void TextEditorWidget::autoIndent()
{
QTextCursor cursor = textCursor();
cursor.beginEditBlock();