@ws-ui/code-editor 0.0.16 → 0.0.17

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.
package/dist/index.es.js CHANGED
@@ -1771,12 +1771,12 @@ const kn = new RegExp("^[ s]+(exposed|Function)", "i"), Xe = () => /* @__PURE__
1771
1771
  return;
1772
1772
  const { line: R, offset: y } = S || {};
1773
1773
  R && fn(O, R, y);
1774
- }, [S]), J(() => {
1774
+ }, [S, O]), J(() => {
1775
1775
  if (!O)
1776
1776
  return;
1777
1777
  const { selection: R } = v || {};
1778
1778
  R && cn(O, R);
1779
- }, [v]), P ? /* @__PURE__ */ j.jsxs(j.Fragment, { children: [
1779
+ }, [v, O]), P ? /* @__PURE__ */ j.jsxs(j.Fragment, { children: [
1780
1780
  d ? /* @__PURE__ */ j.jsx(wn, { lspProps: h }) : null,
1781
1781
  /* @__PURE__ */ j.jsx(
1782
1782
  Dt,