mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
HackStudio: Abstract over syntax highlighter
This commit is contained in:
parent
bacd3dd57a
commit
137d68a2ae
Notes:
sideshowbarker
2024-07-19 08:20:36 +09:00
Author: https://github.com/oriko1010
Commit: 137d68a2ae
Pull-request: https://github.com/SerenityOS/serenity/pull/1429
Reviewed-by: https://github.com/awesomekling
5 changed files with 32 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue