diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-07 15:15:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-07 15:15:10 +0100 |
commit | 43c7d7d285e8b5eb56709dbc0100befc9744fde2 (patch) | |
tree | d164be9790164eeda3e5882f3a1b86e674df44f6 /Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h | |
parent | ff2438e0ceac3b99248748f6a5caf49c223e041d (diff) | |
download | serenity-43c7d7d285e8b5eb56709dbc0100befc9744fde2.zip |
LibSyntax: Move GUI::Highlighter to Syntax::Highlighter in LibSyntax
This is a move towards dropping more LibGUI dependencies.
Diffstat (limited to 'Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h')
-rw-r--r-- | Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h b/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h index dc1d73498e..4891cce703 100644 --- a/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h +++ b/Userland/Libraries/LibGUI/GMLSyntaxHighlighter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -26,18 +26,18 @@ #pragma once -#include <LibGUI/SyntaxHighlighter.h> +#include <LibSyntax/Highlighter.h> namespace GUI { -class GMLSyntaxHighlighter final : public SyntaxHighlighter { +class GMLSyntaxHighlighter final : public Syntax::Highlighter { public: GMLSyntaxHighlighter() { } virtual ~GMLSyntaxHighlighter() override; virtual bool is_identifier(void*) const override; - virtual SyntaxLanguage language() const override { return SyntaxLanguage::INI; } + virtual Syntax::Language language() const override { return Syntax::Language::GML; } virtual void rehighlight(Gfx::Palette) override; protected: |