1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

HackStudio: Abstract over syntax highlighter

This commit is contained in:
Oriko 2020-03-12 17:23:54 +02:00 committed by Andreas Kling
parent bacd3dd57a
commit 137d68a2ae
5 changed files with 32 additions and 16 deletions

View file

@ -9,6 +9,9 @@ public:
CppSyntaxHighlighter() {}
virtual ~CppSyntaxHighlighter() override;
virtual bool is_identifier(void*) const override;
virtual bool is_navigatable(void*) const override;
virtual SyntaxLanguage language() const override { return SyntaxLanguage::Cpp; }
virtual void rehighlight() override;
virtual void highlight_matching_token_pair() override;