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