diff options
Diffstat (limited to 'src/plugins/pythoneditor/tools/pythonhighlighter.h')
-rw-r--r-- | src/plugins/pythoneditor/tools/pythonhighlighter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/pythoneditor/tools/pythonhighlighter.h b/src/plugins/pythoneditor/tools/pythonhighlighter.h index 41b7eb6c71..d5287fc0b5 100644 --- a/src/plugins/pythoneditor/tools/pythonhighlighter.h +++ b/src/plugins/pythoneditor/tools/pythonhighlighter.h @@ -40,6 +40,7 @@ class PythonHighlighter : public TextEditor::SyntaxHighlighter { Q_OBJECT public: + explicit PythonHighlighter(QTextDocument *parent = 0); explicit PythonHighlighter(TextEditor::BaseTextDocument *parent); virtual ~PythonHighlighter(); @@ -49,6 +50,7 @@ protected: private: int highlightLine(const QString &text, int initialState); void highlightImport(Internal::Scanner &scanner); + void init(); }; } // namespace PythonEditor |