summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljshighlighter.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-08-03 11:04:40 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-08-03 11:37:11 +0200
commit382b59a5db95c963b109297857d29ef802560216 (patch)
tree0195b659ce94b60e091c5ec635aef4ec44bb9df1 /src/plugins/qmljseditor/qmljshighlighter.h
parent6267de71d96d786d8abbb49a4a057c17a716c631 (diff)
downloadqt-creator-382b59a5db95c963b109297857d29ef802560216.tar.gz
Use Field instead of Label format for QML properties
In the default style this is currently the same, but in general it makes more sense to highlight properties as fields.
Diffstat (limited to 'src/plugins/qmljseditor/qmljshighlighter.h')
-rw-r--r--src/plugins/qmljseditor/qmljshighlighter.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qmljseditor/qmljshighlighter.h b/src/plugins/qmljseditor/qmljshighlighter.h
index 0be4f9bbf4..8d0f8d2077 100644
--- a/src/plugins/qmljseditor/qmljshighlighter.h
+++ b/src/plugins/qmljseditor/qmljshighlighter.h
@@ -56,7 +56,7 @@ public:
StringFormat,
TypeFormat,
KeywordFormat,
- LabelFormat,
+ FieldFormat,
CommentFormat,
VisualWhitespace,
NumFormats
@@ -66,8 +66,6 @@ public:
void setQmlEnabled(bool duiEnabled);
void setFormats(const QVector<QTextCharFormat> &formats);
- QTextCharFormat labelTextCharFormat() const;
-
protected:
virtual void highlightBlock(const QString &text);