From deaa0580d952b77cf9e6df024d1f71ed29f53fc0 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 27 Jul 2022 16:34:14 +0200 Subject: chore: bump dependencies --- subprojects/frontend/src/editor/semanticHighlighting.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'subprojects/frontend/src/editor/semanticHighlighting.ts') diff --git a/subprojects/frontend/src/editor/semanticHighlighting.ts b/subprojects/frontend/src/editor/semanticHighlighting.ts index 2aed421b..a5d0af7a 100644 --- a/subprojects/frontend/src/editor/semanticHighlighting.ts +++ b/subprojects/frontend/src/editor/semanticHighlighting.ts @@ -1,5 +1,4 @@ -import { RangeSet } from '@codemirror/rangeset'; -import type { TransactionSpec } from '@codemirror/state'; +import { RangeSet, type TransactionSpec } from '@codemirror/state'; import { Decoration } from '@codemirror/view'; import { decorationSetExtension } from './decorationSetExtension'; @@ -16,7 +15,7 @@ const [setSemanticHighlightingInternal, semanticHighlighting] = decorationSetExt export function setSemanticHighlighting(ranges: IHighlightRange[]): TransactionSpec { const rangeSet = RangeSet.of(ranges.map(({ from, to, classes }) => Decoration.mark({ - class: classes.map((c) => `cmt-problem-${c}`).join(' '), + class: classes.map((c) => `tok-problem-${c}`).join(' '), }).range(from, to)), true); return setSemanticHighlightingInternal(rangeSet); } -- cgit v1.2.3-54-g00ecf