|
@@ -163,6 +163,7 @@ class Rustpad {
|
|
if (typeof op === "string") {
|
|
if (typeof op === "string") {
|
|
// Insert
|
|
// Insert
|
|
const pos = this.model.getPositionAt(index);
|
|
const pos = this.model.getPositionAt(index);
|
|
|
|
+ index += op.length;
|
|
this.model.pushEditOperations(
|
|
this.model.pushEditOperations(
|
|
this.options.editor.getSelections(),
|
|
this.options.editor.getSelections(),
|
|
[
|
|
[
|