prep-work for #76847

This commit is contained in:
Johannes Rieken
2019-07-08 11:39:01 +02:00
parent 4259b43f70
commit c5cdf50e17
9 changed files with 83 additions and 63 deletions

View File

@@ -484,7 +484,7 @@ export class MainThreadTextEditor {
this._codeEditor.focus();
// make modifications
snippetController.insert(template, 0, 0, opts.undoStopBefore, opts.undoStopAfter);
snippetController.insert(template, { overwriteBefore: 0, overwriteAfter: 0, undoStopBefore: opts.undoStopBefore, undoStopAfter: opts.undoStopAfter });
return true;
}