summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/SyntaxHighlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/SyntaxHighlighter.h')
-rw-r--r--Libraries/LibGUI/SyntaxHighlighter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/SyntaxHighlighter.h b/Libraries/LibGUI/SyntaxHighlighter.h
index ddb6a18d13..eda27ffead 100644
--- a/Libraries/LibGUI/SyntaxHighlighter.h
+++ b/Libraries/LibGUI/SyntaxHighlighter.h
@@ -29,6 +29,7 @@
#include <AK/Noncopyable.h>
#include <AK/WeakPtr.h>
#include <LibGUI/TextDocument.h>
+#include <LibGfx/Palette.h>
namespace GUI {
@@ -51,7 +52,7 @@ public:
virtual ~SyntaxHighlighter();
virtual SyntaxLanguage language() const = 0;
- virtual void rehighlight() = 0;
+ virtual void rehighlight(Gfx::Palette) = 0;
virtual void highlight_matching_token_pair();
virtual bool is_identifier(void*) const { return false; };