mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
LibGUI: Abstract token pair matching
This commit is contained in:
parent
ac524b632f
commit
c02037e944
Notes:
sideshowbarker
2024-07-19 08:19:37 +09:00
Author: https://github.com/oriko1010
Commit: c02037e944
Pull-request: https://github.com/SerenityOS/serenity/pull/1435
4 changed files with 124 additions and 105 deletions
|
@ -14,7 +14,10 @@ public:
|
|||
|
||||
virtual SyntaxLanguage language() const override { return SyntaxLanguage::Cpp; }
|
||||
virtual void rehighlight() override;
|
||||
virtual void highlight_matching_token_pair() override;
|
||||
|
||||
protected:
|
||||
virtual Vector<MatchingTokenPair> matching_token_pairs() const override;
|
||||
virtual bool token_types_equal(void*, void*) const override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue