mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
HackStudio: Abstract over syntax highlighter
This commit is contained in:
parent
bacd3dd57a
commit
137d68a2ae
5 changed files with 32 additions and 16 deletions
|
@ -22,6 +22,9 @@ public:
|
|||
virtual void rehighlight() = 0;
|
||||
virtual void highlight_matching_token_pair() = 0;
|
||||
|
||||
virtual bool is_identifier(void*) const { return false; };
|
||||
virtual bool is_navigatable(void*) const { return false; };
|
||||
|
||||
void attach(TextEditor& editor);
|
||||
void detach();
|
||||
void cursor_did_change();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue