summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolseditorsupport.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2013-05-03 16:04:56 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-05-07 11:43:53 +0200
commit7313203c2934f0a041067ef1f263b2bb323b2fbd (patch)
tree68c98d15300e43384385baeb195d5c58214af8b9 /src/plugins/cpptools/cpptoolseditorsupport.h
parented4b202774ee6c690764674641972fc83a789011 (diff)
downloadqt-creator-7313203c2934f0a041067ef1f263b2bb323b2fbd.tar.gz
CppEditor: Reduce calls to recalculateSemanticInfo()
Case: Opening a file that is not yet in the Snapshot recalculateSemanticInfoNow() emitted the same SemanticInfo until the indexer processed the document (Snapshot::contains()). That signal caused CppEditorWidget::updateSemanticInfo() to call semanticRehighlight() because of unequal revisions. That triggered recalculateSemanticInfo() again. Change-Id: I8fb7d7c42aad3d6a89876e743cd4e3c7aff643bf Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolseditorsupport.h')
0 files changed, 0 insertions, 0 deletions