diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-11-26 10:59:33 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-11-26 11:00:21 +0100 |
commit | a794154dd766d6be56f164178b35ed50643ca1cd (patch) | |
tree | 5a6545706427fa130ea1d7d52a9a39d666455391 /src/plugins/glsleditor/glslhighlighter.h | |
parent | 20b58e4e6e1fbf1aa22fd597d33d6c7bca52fe45 (diff) | |
download | qt-creator-a794154dd766d6be56f164178b35ed50643ca1cd.tar.gz |
Added indenter, code folding and automagically brace insertion to the GLSL editor.
Diffstat (limited to 'src/plugins/glsleditor/glslhighlighter.h')
-rw-r--r-- | src/plugins/glsleditor/glslhighlighter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/glsleditor/glslhighlighter.h b/src/plugins/glsleditor/glslhighlighter.h index b92763bc6b..8b31121d49 100644 --- a/src/plugins/glsleditor/glslhighlighter.h +++ b/src/plugins/glsleditor/glslhighlighter.h @@ -62,6 +62,8 @@ public: 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]; |