mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibGUI: Abstract token pair matching
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 08:19:37 +09:00
Author: https://github.com/oriko1010 Commit: https://github.com/SerenityOS/serenity/commit/c02037e9447 Pull-request: https://github.com/SerenityOS/serenity/pull/1435
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user