1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:07:35 +00:00

TextEditor: Use Javascript syntax highlighter

This commit is contained in:
Oriko 2020-03-13 00:53:22 +02:00 committed by Andreas Kling
parent 196352ef67
commit c2884d29d6
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 };