@lvce-editor/editor-worker 19.30.11 → 19.30.12

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.
@@ -4367,7 +4367,7 @@ const getVisibleDiagnostics = async (editor, diagnostics) => {
4367
4367
  endColumnIndex,
4368
4368
  rowIndex
4369
4369
  } = diagnostic;
4370
- const columnDelta = endColumnIndex - columnIndex;
4370
+ const columnDelta = Math.max(1, endColumnIndex - columnIndex);
4371
4371
  const diagnosticWidth = columnDelta * charWidth;
4372
4372
  const endLineDifference = 0;
4373
4373
  const halfCursorWidth = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.30.11",
3
+ "version": "19.30.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"