Commit 1a55de5d authored by Leandro Melo's avatar Leandro Melo
Browse files

Text editor: Redraw cursor when indenting

The one line patch was submited as part of the report.

Task-number: QTCREATORBUG-3497
parent ee00f62b
......@@ -4371,6 +4371,7 @@ void BaseTextEditor::indentOrUnindent(bool doIndent)
cursor.setPosition(block.position() + indentPosition - spaces, QTextCursor::KeepAnchor);
cursor.removeSelectedText();
cursor.insertText(tabSettings.indentationString(startColumn, targetColumn, block));
setTextCursor(cursor);
}
cursor.endEditBlock();
......
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