feat(editor): New Code editor based on the TypeScript language service (#12285)

This commit is contained in:
Elias Meire
2025-01-08 11:28:56 +01:00
committed by GitHub
parent ac497c8a67
commit 52ae02abaa
58 changed files with 2861 additions and 758 deletions

View File

@@ -3,7 +3,7 @@ import type { EditorView } from '@codemirror/view';
/**
* Simulate user action to force parser to catch up during scroll.
*/
export function forceParse(_: Event, view: EditorView) {
export function forceParse(view: EditorView) {
view.dispatch({
changes: { from: view.viewport.to, insert: '_' },
});