You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After pasting some multi-line text block I got the following error (Developer Console)
Error: Illegal argument: character must be non-negative
at Object.rangeDeltaNewRange (.vscode\extensions\draivin.hscopes-0.0.6\out\src\text-util.js:49:42)
at DocumentController.applyChanges (.vscode\extensions\draivin.hscopes-0.0.6\out\src\document.js:74:44)
at DocumentController.onChangeDocument (.vscode\extensions\draivin.hscopes-0.0.6\out\src\document.js:83:14)
at .vscode\extensions\draivin.hscopes-0.0.6\out\src\document.js:18:22
It tries to create a vscode.Range with a negative character value on a line.
Looking at the code in toRangeDelta the variable charsDelta can become negative if the new range is shorter at the last line.
The text was updated successfully, but these errors were encountered:
After pasting some multi-line text block I got the following error (Developer Console)
It tries to create a
vscode.Range
with a negative character value on a line.Looking at the code in
toRangeDelta
the variablecharsDelta
can become negative if the new range is shorter at the last line.The text was updated successfully, but these errors were encountered: