summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor/glslhighlighter.h
diff options
context:
space:
mode:
authorjkobus <jaroslaw.kobus@digia.com>2013-08-13 12:57:31 +0200
committerJarek Kobus <jaroslaw.kobus@digia.com>2013-08-26 13:39:40 +0200
commite8801167aa7a0047c9c9be0942ed0b368e5b5aa4 (patch)
treeeb1dcf7998b0457518681126ddf9b49f198dd2d4 /src/plugins/glsleditor/glslhighlighter.h
parent760aa0f8bce34e094abecdd99c77c359fb96bb67 (diff)
downloadqt-creator-e8801167aa7a0047c9c9be0942ed0b368e5b5aa4.tar.gz
Add common interface for text formats inside syntax highlighter
Change-Id: I87f64446161a57aea0896f68e4eafacef791969b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/glsleditor/glslhighlighter.h')
-rw-r--r--src/plugins/glsleditor/glslhighlighter.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/glsleditor/glslhighlighter.h b/src/plugins/glsleditor/glslhighlighter.h
index 9038f636b3..fdc40f97ff 100644
--- a/src/plugins/glsleditor/glslhighlighter.h
+++ b/src/plugins/glsleditor/glslhighlighter.h
@@ -60,15 +60,10 @@ public:
explicit Highlighter(TextEditor::BaseTextDocument *parent);
virtual ~Highlighter();
- void setFormats(const QVector<QTextCharFormat> &formats);
-
protected:
void highlightBlock(const QString &text);
void highlightLine(const QString &text, int position, int length, const QTextCharFormat &format);
bool isPPKeyword(const QStringRef &text) const;
-
-private:
- QTextCharFormat m_formats[NumGLSLFormats];
};
} // namespace Internal