LibGUI: Abstract token pair matching

This commit is contained in:
Oriko
2020-03-13 00:51:02 +02:00
committed by Andreas Kling
parent ac524b632f
commit c02037e944
4 changed files with 124 additions and 105 deletions

View File

@@ -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;
};
}