mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibSyntax: Teach each highlighter about it's comment syntax
This commit is contained in:
parent
a8c73998f1
commit
31290c8527
11 changed files with 24 additions and 0 deletions
|
@ -41,6 +41,8 @@ public:
|
|||
|
||||
virtual Language language() const = 0;
|
||||
StringView language_string(Language) const;
|
||||
virtual Optional<StringView> comment_prefix() const = 0;
|
||||
virtual Optional<StringView> comment_suffix() const = 0;
|
||||
virtual void rehighlight(Palette const&) = 0;
|
||||
virtual void highlight_matching_token_pair();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue