diff options
Diffstat (limited to 'subprojects/frontend/src/editor/EditorStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/EditorStore.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/EditorStore.ts b/subprojects/frontend/src/editor/EditorStore.ts index 33bca382..f128d70d 100644 --- a/subprojects/frontend/src/editor/EditorStore.ts +++ b/subprojects/frontend/src/editor/EditorStore.ts | |||
@@ -111,6 +111,8 @@ export default class EditorStore { | |||
111 | 111 | ||
112 | unsavedChanges = false; | 112 | unsavedChanges = false; |
113 | 113 | ||
114 | hexTypeHashes: string[] = []; | ||
115 | |||
114 | constructor( | 116 | constructor( |
115 | initialValue: string, | 117 | initialValue: string, |
116 | pwaStore: PWAStore, | 118 | pwaStore: PWAStore, |
@@ -275,8 +277,12 @@ export default class EditorStore { | |||
275 | this.doCommand(nextDiagnostic); | 277 | this.doCommand(nextDiagnostic); |
276 | } | 278 | } |
277 | 279 | ||
278 | updateSemanticHighlighting(ranges: IHighlightRange[]): void { | 280 | updateSemanticHighlighting( |
281 | ranges: IHighlightRange[], | ||
282 | hexTypeHashes: string[], | ||
283 | ): void { | ||
279 | this.dispatch(setSemanticHighlighting(ranges)); | 284 | this.dispatch(setSemanticHighlighting(ranges)); |
285 | this.hexTypeHashes = hexTypeHashes; | ||
280 | } | 286 | } |
281 | 287 | ||
282 | updateOccurrences(write: IOccurrence[], read: IOccurrence[]): void { | 288 | updateOccurrences(write: IOccurrence[], read: IOccurrence[]): void { |