@lvce-editor/editor-worker 19.73.1 → 19.73.2

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.
@@ -3779,6 +3779,10 @@ const getIncrementalEdits = async (oldState, newState) => {
3779
3779
  lines
3780
3780
  } = newState;
3781
3781
  const oldLine = oldState.lines[rowIndex];
3782
+ // Empty lines have no nonempty token to update; render the new token normally.
3783
+ if (oldLine.length === 0) {
3784
+ return emptyIncrementalEdits;
3785
+ }
3782
3786
  const newLine = lines[rowIndex];
3783
3787
  // Renderer edit offsets address full lines, so clipped rows need a fresh visible window.
3784
3788
  const threshold = newState.horizontalVirtualizationThreshold ?? 500;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.73.1",
3
+ "version": "19.73.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"