C++ editor: Unify rehighlight() and semanticRehighlight().

They did the same thing.

Change-Id: Ic4d1a269417575110ea32ba5d583a01397c9d806
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-11-14 13:34:41 +01:00
parent 232724cc11
commit af8b381f98
3 changed files with 5 additions and 12 deletions

View File

@@ -406,7 +406,7 @@ void CppPlugin::currentEditorChanged(Core::IEditor *editor)
return;
else if (CPPEditorWidget *textEditor = qobject_cast<CPPEditorWidget *>(editor->widget())) {
textEditor->rehighlight(/*force = */ true);
textEditor->semanticRehighlight(/*force = */ true);
}
}