Skip to content

Commit 50b1091

Browse files
committed
post-rebase fixups
1 parent 9fa72ad commit 50b1091

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/lang/KclManager.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff 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'
6964
import { syntaxTree } from '@codemirror/language'
7065
import type { Diagnostic } from '@codemirror/lint'
7166
import { 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,

0 commit comments

Comments
 (0)