diff --git a/src/plugins/qmleditor/qmlhighlighter.cpp b/src/plugins/qmleditor/qmlhighlighter.cpp index 521ad689af0..4f35bcd3723 100644 --- a/src/plugins/qmleditor/qmlhighlighter.cpp +++ b/src/plugins/qmleditor/qmlhighlighter.cpp @@ -43,6 +43,7 @@ QmlHighlighter::QmlHighlighter(QTextDocument *parent) : QSet qmlKeywords(keywords()); qmlKeywords << QLatin1String("property"); qmlKeywords << QLatin1String("signal"); + qmlKeywords << QLatin1String("readonly"); m_scanner.setKeywords(qmlKeywords); }