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.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/subprojects/frontend/src/xtext/HighlightingService.ts b/subprojects/frontend/src/xtext/HighlightingService.ts
index cf618b96..f9ab7b7e 100644
--- a/subprojects/frontend/src/xtext/HighlightingService.ts
+++ b/subprojects/frontend/src/xtext/HighlightingService.ts
@@ -5,14 +5,10 @@ import type UpdateService from './UpdateService';
5import { highlightingResult } from './xtextServiceResults'; 5import { highlightingResult } from './xtextServiceResults';
6 6
7export default class HighlightingService { 7export default class HighlightingService {
8 private readonly store: EditorStore; 8 constructor(
9 9 private readonly store: EditorStore,
10 private readonly updateService: UpdateService; 10 private readonly updateService: UpdateService,
11 11 ) {}
12 constructor(store: EditorStore, updateService: UpdateService) {
13 this.store = store;
14 this.updateService = updateService;
15 }
16 12
17 onPush(push: unknown): void { 13 onPush(push: unknown): void {
18 const { regions } = highlightingResult.parse(push); 14 const { regions } = highlightingResult.parse(push);