mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibGUI+LibSyntax: Stringify Highlighter::Language
This patch adds a Highlighter::Language -> string helper and a callback for Highlighter changes.
This commit is contained in:
parent
3aa95dd4d5
commit
94b74937d8
4 changed files with 30 additions and 0 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
virtual ~Highlighter();
|
||||
|
||||
virtual Language language() const = 0;
|
||||
StringView language_string(Language) const;
|
||||
virtual void rehighlight(const Palette&) = 0;
|
||||
virtual void highlight_matching_token_pair();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue