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:
@@ -182,7 +182,7 @@ void CppEditorWidget::finalizeInitialization()
|
||||
connect(document(), SIGNAL(contentsChange(int,int,int)),
|
||||
&d->m_localRenaming, SLOT(onContentsChangeOfEditorWidgetDocument(int,int,int)));
|
||||
connect(&d->m_localRenaming, &CppLocalRenaming::finished, [this] {
|
||||
cppEditorDocument()->semanticRehighlight();
|
||||
cppEditorDocument()->recalculateSemanticInfoDetached();
|
||||
});
|
||||
connect(&d->m_localRenaming, &CppLocalRenaming::processKeyPressNormally,
|
||||
this, &CppEditorWidget::processKeyNormally);
|
||||
|
||||
Reference in New Issue
Block a user