mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +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
|
@ -733,6 +733,8 @@ void Editor::set_debug_mode(bool enabled)
|
|||
|
||||
void Editor::on_token_info_timer_tick()
|
||||
{
|
||||
if (!semantic_syntax_highlighting_is_enabled())
|
||||
return;
|
||||
if (!m_language_client || !m_language_client->is_active_client())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue