liyu-pc-base 1.0.125 → 1.0.127

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.
@@ -10860,6 +10860,7 @@ async function iT(e) {
10860
10860
  case "python":
10861
10861
  case "jinja2":
10862
10862
  case "sql":
10863
+ case "xml":
10863
10864
  t = `${e}/${e}.js`;
10864
10865
  break;
10865
10866
  }
@@ -10937,7 +10938,7 @@ const Rre = {
10937
10938
  },
10938
10939
  lineWrapping: e.lineWrapping
10939
10940
  }), n.setOption("mode", e.mode), n.setOption("theme", "material-darker"), n.setValue(e.editorValue), n.on("change", (s) => {
10940
- if (e.mode === "htmlmixed" || e.mode === "css") {
10941
+ if (e.mode === "htmlmixed" || e.mode === "css" || e.mode === "xml") {
10941
10942
  const { line: c, ch: d } = s.getCursor(), p = s.getLine(c), f = Bre(p, d);
10942
10943
  a = f[0], l = f[1];
10943
10944
  }
@@ -10951,7 +10952,7 @@ const Rre = {
10951
10952
  if (s.state.completionActive || c.origin === "+delete" || c.origin === "paste")
10952
10953
  return;
10953
10954
  /^[a-zA-Z0-9_.]*$/.test(c.text[0]) && s.showHint({ completeSingle: !1 });
10954
- }), e.mode === "htmlmixed" || e.mode === "css") {
10955
+ }), e.mode === "htmlmixed" || e.mode === "css" || e.mode === "xml") {
10955
10956
  const s = n.getOption("extraKeys");
10956
10957
  n.setOption("extraKeys", {
10957
10958
  ...s,
@@ -10963,7 +10964,8 @@ const Rre = {
10963
10964
  try {
10964
10965
  const y = SG(a, { type: {
10965
10966
  htmlmixed: "markup",
10966
- css: "stylesheet"
10967
+ css: "stylesheet",
10968
+ xml: "markup"
10967
10969
  }[e.mode] }), { line: h, ch: g } = c.getCursor();
10968
10970
  c.setSelection({ line: h, ch: g }, { line: h, ch: l });
10969
10971
  const v = y.split(`