From 2375b0af17c0c27d9042f559afd63e72fb2ab4fb Mon Sep 17 00:00:00 2001 From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de> Date: Tue, 21 May 2024 08:25:12 +0200 Subject: [PATCH] fixed syntax highlighting for "streaming" --- src/features/soil-editor/SoilTextEditor/SoilHighlight.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts index 8e92ff3..0344ff5 100644 --- a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts +++ b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts @@ -22,10 +22,10 @@ export const soilHighlight = { alias: 'keyword' }, 'keyword': { - pattern: /(\b|\s)(component|enum|extends|function|import|interface|variable|defines|streaming)(\b|\s)/ + pattern: /(\b|\s)(component|enum|extends|function|import|interface|variable|defines)(\b|\s)/ }, "modifier": { - pattern: /\b(constant|dynamic|fixed|update|internal)\b/ + pattern: /\b(constant|dynamic|fixed|update|internal|streaming)\b/ }, "datatype-full": { pattern: /:\s?(boolean|enum|float|int|string|time)\b/, -- GitLab