@lvce-editor/editor-worker 19.62.0 → 19.62.1

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.
@@ -12086,7 +12086,7 @@ const getSnippetChanges = (lines, selections, snippet) => {
12086
12086
  });
12087
12087
  } else {
12088
12088
  const inserted = line.replace('$0', '');
12089
- const cursorColumnIndex = selectionEndColumn + 2;
12089
+ const cursorColumnIndex = selectionStartColumn - snippet.deleted + placeholderIndex;
12090
12090
  selectionChanges.push(selectionStartRow, cursorColumnIndex, selectionStartRow, cursorColumnIndex);
12091
12091
  changes.push({
12092
12092
  deleted: [''],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.62.0",
3
+ "version": "19.62.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"