forked from qt-creator/qt-creator
C++: Rename semanticRehighlight to recalculateSemanticInfoDetached
semanticRehighlight() does a bit more than only rehighlighting and we want to trigger (only) rehighlighting in a follow-up change. Change-Id: Ic8da9ec8643f0f82f7c99ef9a8180b2868194254 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -130,11 +130,11 @@ TextEditor::CompletionAssistProvider *CppEditorDocument::completionAssistProvide
|
||||
return m_completionAssistProvider;
|
||||
}
|
||||
|
||||
void CppEditorDocument::semanticRehighlight()
|
||||
void CppEditorDocument::recalculateSemanticInfoDetached()
|
||||
{
|
||||
CppTools::BaseEditorDocumentProcessor *p = processor();
|
||||
QTC_ASSERT(p, return);
|
||||
p->semanticRehighlight(true);
|
||||
p->recalculateSemanticInfoDetached(true);
|
||||
}
|
||||
|
||||
CppTools::SemanticInfo CppEditorDocument::recalculateSemanticInfo()
|
||||
|
||||
Reference in New Issue
Block a user