mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
HackStudio: Only query token information if semantic highlighting is on
This commit is contained in:
parent
a456759d7a
commit
8bb4d46676
5 changed files with 18 additions and 1 deletions
|
@ -173,4 +173,9 @@ void for_each_open_file(Function<void(ProjectFile const&)> func)
|
|||
s_hack_studio_widget->for_each_open_file(move(func));
|
||||
}
|
||||
|
||||
bool semantic_syntax_highlighting_is_enabled()
|
||||
{
|
||||
return s_hack_studio_widget->semantic_syntax_highlighting_is_enabled();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue