diff options
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]; |