dsh-vscode-mode 0.1.11 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -304,7 +304,7 @@ window.__ModuleLoader__.load({
304
304
  const decos = [];
305
305
  for (const r of pendingRegions) {
306
306
  if (r.start === void 0 || r.end === void 0) continue;
307
- if (!r.create && r.newLines && r.newLines.length) decos.push({
307
+ if (r.newLines && r.newLines.length) decos.push({
308
308
  range: new monaco.Range(r.start, 1, Math.max(r.start, r.end - 1), 1),
309
309
  options: {
310
310
  isWholeLine: true,
@@ -677,7 +677,7 @@ window.__ModuleLoader__.load({
677
677
  callId: rec.callId,
678
678
  idx: i,
679
679
  start: 1,
680
- end: Math.max(1, lines.length),
680
+ end: lines.length + 1,
681
681
  oldLines: [],
682
682
  newLines: lines.slice(),
683
683
  whole: true,