QmlJS: Avoid frequent libraryInfoUpdated emissions.

Also don't require a rehighlight of every open document when the
signal is emitted.

Reviewed-by: Roberto Raggi
This commit is contained in:
Christian Kamm
2011-01-12 13:58:24 +01:00
parent 033a0ff12e
commit ef5dc8c699
3 changed files with 21 additions and 6 deletions

View File

@@ -192,6 +192,7 @@ private slots:
void renameIdUnderCursor();
void semanticRehighlight();
void forceSemanticRehighlightIfCurrentEditor();
void updateSemanticInfo(const QmlJSEditor::SemanticInfo &semanticInfo);
void onCursorPositionChanged();
void onRefactorMarkerClicked(const TextEditor::RefactorMarker &marker);