C++: prevent possibly highlighting a document twice
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 27 Nov 2013 13:49:48 +0000 (14:49 +0100)
committerErik Verbruggen <erik.verbruggen@digia.com>
Wed, 4 Dec 2013 09:40:02 +0000 (10:40 +0100)
commitaf2900ce724f5bb8be7d7ea19c179e10dcafdcab
treeaa5936972b29cfdab36459a0a0c410049cd041e8
parent7620be4a695b0f1dac1f6c2961b964df64a895c8
C++: prevent possibly highlighting a document twice

Possible when the highlighter does not need semantic info to run, and is
started through onDocumentUpdated() and updateDocumentNow().

Change-Id: I720299730213ac196143a273fb60cee8e43111f1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
src/plugins/cpptools/cpptoolseditorsupport.cpp