aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljshighlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmljs/qmljshighlighter.h')
-rw-r--r--src/libs/qmljs/qmljshighlighter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/qmljs/qmljshighlighter.h b/src/libs/qmljs/qmljshighlighter.h
index 6e0bd2ba72a..d289d91a5b6 100644
--- a/src/libs/qmljs/qmljshighlighter.h
+++ b/src/libs/qmljs/qmljshighlighter.h
@@ -61,13 +61,13 @@ public:
QSet<QString> keywords();
protected:
+ virtual int onBlockStart();
+ virtual void onBlockEnd(int state, int firstNonSpace);
+
// The functions are notified whenever parentheses are encountered.
// Custom behaviour can be added, for example storing info for indenting.
- virtual int onBlockStart(); // returns the blocks initial state
virtual void onOpeningParenthesis(QChar parenthesis, int pos);
virtual void onClosingParenthesis(QChar parenthesis, int pos);
- // sets the enriched user state, or simply calls setCurrentBlockState(state);
- virtual void onBlockEnd(int state, int firstNonSpace);
virtual void highlightWhitespace(const Token &token, const QString &text, int nonWhitespaceFormat);