TextEditor: Use Javascript syntax highlighter

This commit is contained in:
Oriko 2020-03-13 00:53:22 +02:00 committed by Andreas Kling
commit c2884d29d6
Notes: sideshowbarker 2024-07-19 08:19:30 +09:00
3 changed files with 14 additions and 1 deletions

View file

@ -82,6 +82,7 @@ private:
GUI::ActionGroup syntax_actions;
RefPtr<GUI::Action> m_plain_text_highlight;
RefPtr<GUI::Action> m_cpp_highlight;
RefPtr<GUI::Action> m_js_highlight;
bool m_document_dirty { false };
bool m_document_opening { false };