mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
feat(editor): New Code editor based on the TypeScript language service (#12285)
This commit is contained in:
@@ -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: '_' },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user