@ws-ui/code-editor 0.0.15 → 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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
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,
|