forked from qt-creator/qt-creator
QmlJSEditor: Move semantic highlighting to document
This ensures that we are only highlighting once, and actually do highlight (the previous code was trying to prevent multiple rehighlights though doing the highlighting in the editor(s), resulting in situations where it wouldn't rehighlight at all) Change-Id: I18f3e72e31d8076b6d1575f1a17a3f4a101163d9 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -57,6 +57,10 @@ signals:
|
||||
void updateCodeWarnings(QmlJS::Document::Ptr doc);
|
||||
void semanticInfoUpdated(const QmlJSTools::SemanticInfo &semanticInfo);
|
||||
|
||||
protected:
|
||||
void applyFontSettings();
|
||||
void triggerPendingUpdates();
|
||||
|
||||
private:
|
||||
friend class QmlJSEditorDocumentPrivate; // sending signals
|
||||
QmlJSEditorDocumentPrivate *m_d;
|
||||
|
||||
Reference in New Issue
Block a user