From cc27b2fbea058022f2f3fc3b3f74d91355d7e237 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 25 Nov 2022 15:28:56 +0100 Subject: refactor(frontend): simplify diagnostic tracking --- subprojects/frontend/src/editor/createEditorState.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subprojects/frontend/src/editor/createEditorState.ts') diff --git a/subprojects/frontend/src/editor/createEditorState.ts b/subprojects/frontend/src/editor/createEditorState.ts index 05028fcc..ce1efa4f 100644 --- a/subprojects/frontend/src/editor/createEditorState.ts +++ b/subprojects/frontend/src/editor/createEditorState.ts @@ -36,6 +36,7 @@ import problemLanguageSupport from '../language/problemLanguageSupport'; import type EditorStore from './EditorStore'; import SearchPanel from './SearchPanel'; +import exposeDiagnostics from './exposeDiagnostics'; import findOccurrences from './findOccurrences'; import indentationMarkerViewPlugin from './indentationMarkerViewPlugin'; import scrollbarViewPlugin from './scrollbarViewPlugin'; @@ -56,6 +57,7 @@ export default function createEditorState( bracketMatching(), drawSelection(), EditorState.allowMultipleSelections.of(true), + exposeDiagnostics, findOccurrences, highlightActiveLine(), highlightActiveLineGutter(), -- cgit v1.2.3-54-g00ecf