diff options
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r-- | Userland/DevTools/HackStudio/Editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/Editor.cpp b/Userland/DevTools/HackStudio/Editor.cpp index eb78cf2267..c98e8f43e0 100644 --- a/Userland/DevTools/HackStudio/Editor.cpp +++ b/Userland/DevTools/HackStudio/Editor.cpp @@ -38,12 +38,12 @@ #include <LibGUI/Application.h> #include <LibGUI/GMLSyntaxHighlighter.h> #include <LibGUI/INISyntaxHighlighter.h> -#include <LibGUI/JSSyntaxHighlighter.h> #include <LibGUI/Label.h> #include <LibGUI/Painter.h> #include <LibGUI/ScrollBar.h> #include <LibGUI/ShellSyntaxHighlighter.h> #include <LibGUI/Window.h> +#include <LibJS/SyntaxHighlighter.h> #include <LibMarkdown/Document.h> #include <LibWeb/DOM/ElementFactory.h> #include <LibWeb/DOM/Text.h> @@ -424,7 +424,7 @@ void Editor::set_document(GUI::TextDocument& doc) set_syntax_highlighter(make<GUI::GMLSyntaxHighlighter>()); break; case Language::JavaScript: - set_syntax_highlighter(make<GUI::JSSyntaxHighlighter>()); + set_syntax_highlighter(make<JS::SyntaxHighlighter>()); break; case Language::Ini: set_syntax_highlighter(make<GUI::IniSyntaxHighlighter>()); |