File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,7 @@ import {
6060 setSelectionFilter ,
6161 setSelectionFilterToDefault ,
6262} from '@src/lib/selectionFilterUtils'
63- import {
64- history ,
65- historyField ,
66- redoDepth ,
67- undoDepth ,
68- } from '@codemirror/commands'
63+ import { history , redoDepth , undoDepth } from '@codemirror/commands'
6964import { syntaxTree } from '@codemirror/language'
7065import type { Diagnostic } from '@codemirror/lint'
7166import { forEachDiagnostic , setDiagnosticsEffect } from '@codemirror/lint'
@@ -509,12 +504,6 @@ export class KclManager extends EventTarget {
509504 }
510505 } )
511506
512- private syncCodeSignalToDoc = EditorView . updateListener . of ( ( update ) => {
513- if ( update . docChanged ) {
514- this . _code . value = update . view . state . doc . toString ( )
515- }
516- } )
517-
518507 /**
519508 * This is a CodeMirror extension that watches for updates to the document,
520509 * discerns if the change is a kind that we want to re-execute on,
You can’t perform that action at this time.
0 commit comments