summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/CppSyntaxHighlighter.h
diff options
context:
space:
mode:
authorOriko <oriko1010@protonmail.com>2020-03-16 01:05:06 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-16 13:39:34 +0100
commit2b162ef79459d4b4961c25809ef98da4ca5cefd5 (patch)
tree81d1beeb680926ee202f2592a061a59f57b17129 /Libraries/LibGUI/CppSyntaxHighlighter.h
parent6da7fd9aab12c8af04dbc261474c7b0dddab72e4 (diff)
downloadserenity-2b162ef79459d4b4961c25809ef98da4ca5cefd5.zip
LibGUI: Use themes for syntax highlighting
Diffstat (limited to 'Libraries/LibGUI/CppSyntaxHighlighter.h')
-rw-r--r--Libraries/LibGUI/CppSyntaxHighlighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/CppSyntaxHighlighter.h b/Libraries/LibGUI/CppSyntaxHighlighter.h
index 4f6f48354b..a96b5febe9 100644
--- a/Libraries/LibGUI/CppSyntaxHighlighter.h
+++ b/Libraries/LibGUI/CppSyntaxHighlighter.h
@@ -39,7 +39,7 @@ public:
virtual bool is_navigatable(void*) const override;
virtual SyntaxLanguage language() const override { return SyntaxLanguage::Cpp; }
- virtual void rehighlight() override;
+ virtual void rehighlight(Gfx::Palette) override;
protected:
virtual Vector<MatchingTokenPair> matching_token_pairs() const override;