QmlJSEditor: Signal that new semanticInfo is available

Will be used in QmlJSOutline.
This commit is contained in:
Kai Koehne
2010-07-01 11:09:47 +02:00
parent 5649327a8d
commit ebe388ee92
2 changed files with 5 additions and 0 deletions

View File

@@ -1354,6 +1354,8 @@ void QmlJSTextEditor::updateSemanticInfo(const SemanticInfo &semanticInfo)
appendExtraSelectionsForMessages(&selections, doc->diagnosticMessages(), document());
appendExtraSelectionsForMessages(&selections, m_semanticInfo.semanticMessages, document());
setExtraSelections(CodeWarningsSelection, selections);
emit semanticInfoUpdated(semanticInfo);
}
void QmlJSTextEditor::onCursorPositionChanged()