From e1d6802843960e911f19c7e9c4a4b626ae854b90 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 11 Oct 2021 01:42:22 +0200 Subject: feat(web): simplify contextual parsing * More relaxted parsing in the browser for stable variable/node identifier classification. * String support in the browser. * contains, refers, and opposite keywords are no longer contextual, which simplifies parsing in the browser. --- language-web/src/main/js/editor/EditorParent.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'language-web/src/main/js/editor/EditorParent.ts') diff --git a/language-web/src/main/js/editor/EditorParent.ts b/language-web/src/main/js/editor/EditorParent.ts index 316c5072..a2f6c266 100644 --- a/language-web/src/main/js/editor/EditorParent.ts +++ b/language-web/src/main/js/editor/EditorParent.ts @@ -65,6 +65,9 @@ export const EditorParent = styled('div')(({ theme }) => ({ '.cmt-number': { color: '#6188a6', }, + '.cmt-string': { + color: theme.palette.secondary.dark, + }, '.cmt-keyword': { color: theme.palette.primary.main, }, -- cgit v1.2.3-54-g00ecf