aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/xtext/HighlightingService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/xtext/HighlightingService.ts')
-rw-r--r--subprojects/frontend/src/xtext/HighlightingService.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/subprojects/frontend/src/xtext/HighlightingService.ts b/subprojects/frontend/src/xtext/HighlightingService.ts
index f9ab7b7e..a126ee40 100644
--- a/subprojects/frontend/src/xtext/HighlightingService.ts
+++ b/subprojects/frontend/src/xtext/HighlightingService.ts
@@ -31,4 +31,8 @@ export default class HighlightingService {
31 }); 31 });
32 this.store.updateSemanticHighlighting(ranges); 32 this.store.updateSemanticHighlighting(ranges);
33 } 33 }
34
35 onDisconnect(): void {
36 this.store.updateSemanticHighlighting([]);
37 }
34} 38}