Commit f5217073 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppEditor: Lower reservation of parentheses per line



Change-Id: Ibefa62dd30cc35d4eb1997484e28d91f1ab0288f
Task-number: QTCREATORBUG-14390
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
parent e69d20e1
......@@ -114,7 +114,7 @@ void CppHighlighter::highlightBlock(const QString &text)
const unsigned firstNonSpace = tokens.first().utf16charsBegin();
Parentheses parentheses;
parentheses.reserve(20); // assume wizard level ;-)
parentheses.reserve(5);
bool expectPreprocessorKeyword = false;
bool onlyHighlightComments = false;
......
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