diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-05-11 15:05:19 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-05-13 08:26:16 +0000 |
commit | f52170737eb00c825e6e2354b9d99d2c342aa740 (patch) | |
tree | 356a87ead67601571ad7c3b87e81f7ca47b8d188 | |
parent | e69d20e10bf040c78a98d42514453d990aa56217 (diff) |
CppEditor: Lower reservation of parentheses per line
Change-Id: Ibefa62dd30cc35d4eb1997484e28d91f1ab0288f
Task-number: QTCREATORBUG-14390
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-rw-r--r-- | src/plugins/cppeditor/cpphighlighter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 7370b88ef0..ea738e756b 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -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; |