Display KCL errors as CodeMirror diagnostics in the editor's gutter (#197)

Also updates the CodeMirror version
This commit is contained in:
Adam Chalmers
2023-08-03 15:56:11 -05:00
committed by GitHub
parent 231371fb16
commit 8c5d7bf648
3 changed files with 25 additions and 3 deletions

View File

@ -20,7 +20,7 @@ import {
SourceRangeMap,
EngineCommandManager,
} from './lang/std/engineConnection'
import { KCLError } from './lang/errors'
import { KCLError, KCLUndefinedValueError } from './lang/errors'
export type Selection = {
type: 'default' | 'line-end' | 'line-mid'