CppEditor: Fix missing semantic highlighting
authorEike Ziller <eike.ziller@digia.com>
Wed, 12 Feb 2014 15:43:53 +0000 (16:43 +0100)
committerEike Ziller <eike.ziller@digia.com>
Tue, 18 Feb 2014 10:55:35 +0000 (11:55 +0100)
commitb5be4d286628a131899a0ce48cd12a5dbb0589b3
tree6ee9bedfd59f94dab7a64b9ec5314bfe435c9fc5
parentf335da7a752fabbc2f13e6a31dfd386316f00f31
CppEditor: Fix missing semantic highlighting

In case the editor is hidden before semantic highlighting started
(because semantic parsing hasn't finished yet).
Just disable the logic that tries to optimize that for now, since it is
not working, and fixing it will require more work (that's done later
anyhow).

Task-number: QTCREATORBUG-11367
Change-Id: I7ef3cc558e514968f90d2ea56b2df362606d879a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
src/plugins/cpptools/cpptoolseditorsupport.cpp