We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://microsoft.github.io/monaco-editor/playground.html?source=v0.52.0#XQAAAAIkAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0kd0FVciAJM8XEuX7Os378jBGtVLkr6ryuhqvky-XZ9Sy0vyFSI1m9lYQpwqOsaKmhydYWIo-9hGbv_4wlPIsEpVooDN3UCgYV8kLlvOGD8rooZ1WJ_A9v5uEdBOb0AipkE4nFHt4fpakpkyG-1p7O0Lqu0PLvpSZ-3czGDL5Ch4Rq5b3TwBB3i3RQ8ipOflrAzAJPxJXesguDmuXGiOs8DBjdIHDXn-9abB035-a5xuJsBfqx0optiY_XFBiwyMG4FfmSnqz13FpC3GYYZNpzBdgbnYxXgg2V5Eh1f_7ytxGQ
const originalModel = monaco.editor.createModel( /* set from `originalModel`: */ `hello world`, "text/plain" ); const modifiedModel = monaco.editor.createModel( /* set from `modifiedModel`: */ `hello world hello world hello world`, "text/plain" ); const diffEditor = monaco.editor.createDiffEditor( document.getElementById("container"), { originalEditable: true, automaticLayout: true, } ); diffEditor.setModel({ original: originalModel, modified: modifiedModel, });
Select lines 2 and 3 in the right editor and then hit Del key.
Del
Removing lines in any diff editor raises the Illegal value for lineNumber error under some circumstances.
Illegal value for lineNumber
No response
Using version 0.52.0 This error doesn't happen with version 0.51.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.52.0#XQAAAAIkAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0kd0FVciAJM8XEuX7Os378jBGtVLkr6ryuhqvky-XZ9Sy0vyFSI1m9lYQpwqOsaKmhydYWIo-9hGbv_4wlPIsEpVooDN3UCgYV8kLlvOGD8rooZ1WJ_A9v5uEdBOb0AipkE4nFHt4fpakpkyG-1p7O0Lqu0PLvpSZ-3czGDL5Ch4Rq5b3TwBB3i3RQ8ipOflrAzAJPxJXesguDmuXGiOs8DBjdIHDXn-9abB035-a5xuJsBfqx0optiY_XFBiwyMG4FfmSnqz13FpC3GYYZNpzBdgbnYxXgg2V5Eh1f_7ytxGQ
Monaco Editor Playground Code
Reproduction Steps
Select lines 2 and 3 in the right editor and then hit
Del
key.Actual (Problematic) Behavior
Removing lines in any diff editor raises the
Illegal value for lineNumber
error under some circumstances.Expected Behavior
No response
Additional Context
Using version 0.52.0
This error doesn't happen with version 0.51.0
The text was updated successfully, but these errors were encountered: