Ver Fonte

deploy: c3ba46abc7ccacb9419ada6f57d19a0871994610

hediet há 2 anos atrás
pai
commit
3498c6e9be
100 ficheiros alterados com 135 adições e 2 exclusões
  1. 0 2
      .gitignore
  2. 2 0
      1000.js
  3. 1 0
      1000.js.map
  4. 2 0
      1111.js
  5. 1 0
      1111.js.map
  6. 2 0
      1142.js
  7. 1 0
      1142.js.map
  8. 2 0
      1187.js
  9. 1 0
      1187.js.map
  10. 2 0
      1222.js
  11. 1 0
      1222.js.map
  12. 2 0
      1238.js
  13. 1 0
      1238.js.map
  14. 2 0
      1261.js
  15. 1 0
      1261.js.map
  16. 2 0
      152.js
  17. 1 0
      152.js.map
  18. 2 0
      157.js
  19. 1 0
      157.js.map
  20. 2 0
      1664.js
  21. 1 0
      1664.js.map
  22. 2 0
      1913.js
  23. 0 0
      1913.js.map
  24. 2 0
      2350.js
  25. 1 0
      2350.js.map
  26. 2 0
      2507.js
  27. 1 0
      2507.js.map
  28. 0 0
      264.js
  29. 0 0
      264.js.map
  30. 0 0
      2694.js
  31. 0 0
      2694.js.map
  32. 2 0
      297.js
  33. 1 0
      297.js.map
  34. 2 0
      2992.js
  35. 1 0
      2992.js.map
  36. 2 0
      3021.js
  37. 1 0
      3021.js.map
  38. 2 0
      3080.js
  39. 1 0
      3080.js.map
  40. 2 0
      3153.js
  41. 1 0
      3153.js.map
  42. 2 0
      3180.js
  43. 1 0
      3180.js.map
  44. 2 0
      3377.js
  45. 1 0
      3377.js.map
  46. 2 0
      3387.js
  47. 1 0
      3387.js.map
  48. 2 0
      3439.js
  49. 1 0
      3439.js.map
  50. 2 0
      3642.js
  51. 0 0
      3642.js.map
  52. 2 0
      3673.js
  53. 1 0
      3673.js.map
  54. 2 0
      3714.js
  55. 1 0
      3714.js.map
  56. 2 0
      3760.js
  57. 1 0
      3760.js.map
  58. 2 0
      3818.js
  59. 1 0
      3818.js.map
  60. 2 0
      3836.js
  61. 1 0
      3836.js.map
  62. 2 0
      3872.js
  63. 1 0
      3872.js.map
  64. 2 0
      4076.js
  65. 1 0
      4076.js.map
  66. 2 0
      4101.js
  67. 1 0
      4101.js.map
  68. 2 0
      4124.js
  69. 1 0
      4124.js.map
  70. 2 0
      4260.js
  71. 1 0
      4260.js.map
  72. 2 0
      4308.js
  73. 1 0
      4308.js.map
  74. 0 0
      4336.js
  75. 0 0
      4336.js.map
  76. 2 0
      4419.js
  77. 1 0
      4419.js.map
  78. 2 0
      4523.js
  79. 1 0
      4523.js.map
  80. 2 0
      4541.js
  81. 1 0
      4541.js.map
  82. 2 0
      4814.js
  83. 1 0
      4814.js.map
  84. 0 0
      4867.js
  85. 0 0
      4867.js.map
  86. 2 0
      5026.js
  87. 1 0
      5026.js.map
  88. 2 0
      5198.js
  89. 1 0
      5198.js.map
  90. 2 0
      5256.js
  91. 1 0
      5256.js.map
  92. 2 0
      5274.js
  93. 1 0
      5274.js.map
  94. 2 0
      5336.js
  95. 1 0
      5336.js.map
  96. 2 0
      5434.js
  97. 1 0
      5434.js.map
  98. 2 0
      5496.js
  99. 1 0
      5496.js.map
  100. 2 0
      5508.js

+ 0 - 2
.gitignore

@@ -1,2 +0,0 @@
-node_modules/monaco-editor/dev
-node_modules/monaco-editor/esm

+ 2 - 0
1000.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1e3],{1e3:(e,i,t)=>{t.r(i),t.d(i,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=1000.js.map

+ 1 - 0
1000.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1000.js","mappings":"4IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/inlay-hints-provider-example/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1111.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1111],{1111:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=1111.js.map

+ 1 - 0
1111.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1111.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/customizing-the-line-numbers/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1142.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1142],{1142:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=1142.js.map

+ 1 - 0
1142.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1142.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/semantic-tokens-provider-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1187.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1187],{1187:(t,n,e)=>{e.r(n),e.d(n,{default:()=>o});const o='monaco.languages.register({\n\tid: "foldLanguage",\n});\n\nvar value = `1. Hit F1 to bring up the Command Palette\n2. Type \'fold\'\n3. Choose \'Fold All Block Comments\' or \'Fold All Regions\'\n\n5. comment1\n6. comment1\n7. comment1\n\n9. unfoldable text\n10. unfoldable text\n11. unfoldable text\n\n13. comment2\n14. comment2\n15. comment2\n16. comment2\n17. comment2\n\n19. foldable text\n20. foldable text\n21. foldable text\n\n23. region1\n24. region1\n25. region1\n\n27. region2\n28. region2\n29. region2`;\n\nmonaco.editor.create(document.getElementById("container"), {\n\tvalue: value,\n\tlanguage: "foldLanguage",\n});\n\nmonaco.languages.registerFoldingRangeProvider("foldLanguage", {\n\tprovideFoldingRanges: function (model, context, token) {\n\t\treturn [\n\t\t\t// comment1\n\t\t\t{\n\t\t\t\tstart: 5,\n\t\t\t\tend: 7,\n\t\t\t\tkind: monaco.languages.FoldingRangeKind.Comment,\n\t\t\t},\n\t\t\t// comment2\n\t\t\t{\n\t\t\t\tstart: 13,\n\t\t\t\tend: 17,\n\t\t\t\tkind: monaco.languages.FoldingRangeKind.Comment,\n\t\t\t},\n\t\t\t// foldable text\n\t\t\t{\n\t\t\t\tstart: 19,\n\t\t\t\tend: 21,\n\t\t\t},\n\t\t\t// region1\n\t\t\t{\n\t\t\t\tstart: 23,\n\t\t\t\tend: 25,\n\t\t\t\tkind: monaco.languages.FoldingRangeKind.Region,\n\t\t\t},\n\t\t\t// region2\n\t\t\t{\n\t\t\t\tstart: 27,\n\t\t\t\tend: 29,\n\t\t\t\tkind: monaco.languages.FoldingRangeKind.Region,\n\t\t\t},\n\t\t];\n\t},\n});\n'}}]);
+//# sourceMappingURL=1187.js.map

+ 1 - 0
1187.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1187.js","mappings":"8IAAA,o4C","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/folding-provider-example/sample.js"],"sourcesContent":["export default \"monaco.languages.register({\\n\\tid: \\\"foldLanguage\\\",\\n});\\n\\nvar value = `1. Hit F1 to bring up the Command Palette\\n2. Type 'fold'\\n3. Choose 'Fold All Block Comments' or 'Fold All Regions'\\n\\n5. comment1\\n6. comment1\\n7. comment1\\n\\n9. unfoldable text\\n10. unfoldable text\\n11. unfoldable text\\n\\n13. comment2\\n14. comment2\\n15. comment2\\n16. comment2\\n17. comment2\\n\\n19. foldable text\\n20. foldable text\\n21. foldable text\\n\\n23. region1\\n24. region1\\n25. region1\\n\\n27. region2\\n28. region2\\n29. region2`;\\n\\nmonaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: value,\\n\\tlanguage: \\\"foldLanguage\\\",\\n});\\n\\nmonaco.languages.registerFoldingRangeProvider(\\\"foldLanguage\\\", {\\n\\tprovideFoldingRanges: function (model, context, token) {\\n\\t\\treturn [\\n\\t\\t\\t// comment1\\n\\t\\t\\t{\\n\\t\\t\\t\\tstart: 5,\\n\\t\\t\\t\\tend: 7,\\n\\t\\t\\t\\tkind: monaco.languages.FoldingRangeKind.Comment,\\n\\t\\t\\t},\\n\\t\\t\\t// comment2\\n\\t\\t\\t{\\n\\t\\t\\t\\tstart: 13,\\n\\t\\t\\t\\tend: 17,\\n\\t\\t\\t\\tkind: monaco.languages.FoldingRangeKind.Comment,\\n\\t\\t\\t},\\n\\t\\t\\t// foldable text\\n\\t\\t\\t{\\n\\t\\t\\t\\tstart: 19,\\n\\t\\t\\t\\tend: 21,\\n\\t\\t\\t},\\n\\t\\t\\t// region1\\n\\t\\t\\t{\\n\\t\\t\\t\\tstart: 23,\\n\\t\\t\\t\\tend: 25,\\n\\t\\t\\t\\tkind: monaco.languages.FoldingRangeKind.Region,\\n\\t\\t\\t},\\n\\t\\t\\t// region2\\n\\t\\t\\t{\\n\\t\\t\\t\\tstart: 27,\\n\\t\\t\\t\\tend: 29,\\n\\t\\t\\t\\tkind: monaco.languages.FoldingRangeKind.Region,\\n\\t\\t\\t},\\n\\t\\t];\\n\\t},\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1222.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1222],{1222:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=1222.js.map

+ 1 - 0
1222.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1222.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/configure-javascript-defaults/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1238.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1238],{1238:(n,e,o)=>{o.r(e),o.d(e,{default:()=>t});const t='var editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: "function hello() {\\n\\talert(\'Hello world!\');\\n}",\n\tlanguage: "javascript",\n});\n\nvar myBinding = editor.addCommand(monaco.KeyCode.F9, function () {\n\talert("F9 pressed!");\n});\n\n// You can\'t dispose `addCommand`\n// If you need to dispose it you might use `addAction` or `registerCommand`\n'}}]);
+//# sourceMappingURL=1238.js.map

+ 1 - 0
1238.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1238.js","mappings":"8IAAA,8Y","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/listening-to-key-events/sample.js"],"sourcesContent":["export default \"var editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: \\\"function hello() {\\\\n\\\\talert('Hello world!');\\\\n}\\\",\\n\\tlanguage: \\\"javascript\\\",\\n});\\n\\nvar myBinding = editor.addCommand(monaco.KeyCode.F9, function () {\\n\\talert(\\\"F9 pressed!\\\");\\n});\\n\\n// You can't dispose `addCommand`\\n// If you need to dispose it you might use `addAction` or `registerCommand`\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1261.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1261],{1261:(t,n,e)=>{e.r(n),e.d(n,{default:()=>r});const r='function validate(model) {\n\tconst markers = [];\n\t// lines start at 1\n\tfor (let i = 1; i < model.getLineCount() + 1; i++) {\n\t\tconst range = {\n\t\t\tstartLineNumber: i,\n\t\t\tstartColumn: 1,\n\t\t\tendLineNumber: i,\n\t\t\tendColumn: model.getLineLength(i) + 1,\n\t\t};\n\t\tconst content = model.getValueInRange(range).trim();\n\t\tconst number = Number(content);\n\t\tif (Number.isNaN(number)) {\n\t\t\tmarkers.push({\n\t\t\t\tmessage: "not a number",\n\t\t\t\tseverity: monaco.MarkerSeverity.Error,\n\t\t\t\tstartLineNumber: range.startLineNumber,\n\t\t\t\tstartColumn: range.startColumn,\n\t\t\t\tendLineNumber: range.endLineNumber,\n\t\t\t\tendColumn: range.endColumn,\n\t\t\t});\n\t\t} else if (!Number.isInteger(number)) {\n\t\t\tmarkers.push({\n\t\t\t\tmessage: "not an integer",\n\t\t\t\tseverity: monaco.MarkerSeverity.Warning,\n\t\t\t\tstartLineNumber: range.startLineNumber,\n\t\t\t\tstartColumn: range.startColumn,\n\t\t\t\tendLineNumber: range.endLineNumber,\n\t\t\t\tendColumn: range.endColumn,\n\t\t\t});\n\t\t}\n\t}\n\tmonaco.editor.setModelMarkers(model, "owner", markers);\n}\n\nconst value = `12345\nabcd\n234.56\n12345\nabcd\n234.56`;\nconst uri = monaco.Uri.parse("inmemory://test");\nconst model = monaco.editor.createModel(value, "demoLanguage", uri);\neditor = monaco.editor.create(document.getElementById("container"), { model });\nvalidate(model);\nmodel.onDidChangeContent(() => {\n\tvalidate(model);\n});\n'}}]);
+//# sourceMappingURL=1261.js.map

+ 1 - 0
1261.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1261.js","mappings":"8IAAA,86C","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.js"],"sourcesContent":["export default \"function validate(model) {\\n\\tconst markers = [];\\n\\t// lines start at 1\\n\\tfor (let i = 1; i < model.getLineCount() + 1; i++) {\\n\\t\\tconst range = {\\n\\t\\t\\tstartLineNumber: i,\\n\\t\\t\\tstartColumn: 1,\\n\\t\\t\\tendLineNumber: i,\\n\\t\\t\\tendColumn: model.getLineLength(i) + 1,\\n\\t\\t};\\n\\t\\tconst content = model.getValueInRange(range).trim();\\n\\t\\tconst number = Number(content);\\n\\t\\tif (Number.isNaN(number)) {\\n\\t\\t\\tmarkers.push({\\n\\t\\t\\t\\tmessage: \\\"not a number\\\",\\n\\t\\t\\t\\tseverity: monaco.MarkerSeverity.Error,\\n\\t\\t\\t\\tstartLineNumber: range.startLineNumber,\\n\\t\\t\\t\\tstartColumn: range.startColumn,\\n\\t\\t\\t\\tendLineNumber: range.endLineNumber,\\n\\t\\t\\t\\tendColumn: range.endColumn,\\n\\t\\t\\t});\\n\\t\\t} else if (!Number.isInteger(number)) {\\n\\t\\t\\tmarkers.push({\\n\\t\\t\\t\\tmessage: \\\"not an integer\\\",\\n\\t\\t\\t\\tseverity: monaco.MarkerSeverity.Warning,\\n\\t\\t\\t\\tstartLineNumber: range.startLineNumber,\\n\\t\\t\\t\\tstartColumn: range.startColumn,\\n\\t\\t\\t\\tendLineNumber: range.endLineNumber,\\n\\t\\t\\t\\tendColumn: range.endColumn,\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\tmonaco.editor.setModelMarkers(model, \\\"owner\\\", markers);\\n}\\n\\nconst value = `12345\\nabcd\\n234.56\\n12345\\nabcd\\n234.56`;\\nconst uri = monaco.Uri.parse(\\\"inmemory://test\\\");\\nconst model = monaco.editor.createModel(value, \\\"demoLanguage\\\", uri);\\neditor = monaco.editor.create(document.getElementById(\\\"container\\\"), { model });\\nvalidate(model);\\nmodel.onDidChangeContent(() => {\\n\\tvalidate(model);\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
152.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[152],{152:(e,n,a)=>{a.r(n),a.d(n,{default:()=>t});const t='// The Monaco Editor can be easily created, given an\n// empty container and an options literal.\n// Two members of the literal are "value" and "language".\n// The editor takes the full size of its container.\n\nmonaco.editor.create(document.getElementById("container"), {\n\tvalue: "function hello() {\\n\\talert(\'Hello world!\');\\n}",\n\tlanguage: "javascript",\n});\n'}}]);
+//# sourceMappingURL=152.js.map

+ 1 - 0
152.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"152.js","mappings":"4IAAA,8X","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-editor/hello-world/sample.js"],"sourcesContent":["export default \"// The Monaco Editor can be easily created, given an\\n// empty container and an options literal.\\n// Two members of the literal are \\\"value\\\" and \\\"language\\\".\\n// The editor takes the full size of its container.\\n\\nmonaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: \\\"function hello() {\\\\n\\\\talert('Hello world!');\\\\n}\\\",\\n\\tlanguage: \\\"javascript\\\",\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
157.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[157],{157:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=157.js.map

+ 1 - 0
157.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"157.js","mappings":"4IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/navigating-a-diff/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1664.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1664],{1664:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=1664.js.map

+ 1 - 0
1664.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"1664.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
1913.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[1913],{1913:(t,n,e)=>{e.r(n),e.d(n,{default:()=>r});const r='monaco.languages.register({ id: "mySpecialLanguage" });\n\nmonaco.languages.registerHoverProvider("mySpecialLanguage", {\n\tprovideHover: function (model, position) {\n\t\treturn xhr("../playground.html").then(function (res) {\n\t\t\treturn {\n\t\t\t\trange: new monaco.Range(\n\t\t\t\t\t1,\n\t\t\t\t\t1,\n\t\t\t\t\tmodel.getLineCount(),\n\t\t\t\t\tmodel.getLineMaxColumn(model.getLineCount())\n\t\t\t\t),\n\t\t\t\tcontents: [\n\t\t\t\t\t{ value: "**SOURCE**" },\n\t\t\t\t\t{\n\t\t\t\t\t\tvalue:\n\t\t\t\t\t\t\t"```html\\n" +\n\t\t\t\t\t\t\tres.responseText.substring(0, 200) +\n\t\t\t\t\t\t\t"\\n```",\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t};\n\t\t});\n\t},\n});\n\nmonaco.editor.create(document.getElementById("container"), {\n\tvalue: "\\n\\nHover over this text",\n\tlanguage: "mySpecialLanguage",\n});\n\nfunction xhr(url) {\n\tvar req = null;\n\treturn new Promise(\n\t\tfunction (c, e) {\n\t\t\treq = new XMLHttpRequest();\n\t\t\treq.onreadystatechange = function () {\n\t\t\t\tif (req._canceled) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (req.readyState === 4) {\n\t\t\t\t\tif (\n\t\t\t\t\t\t(req.status >= 200 && req.status < 300) ||\n\t\t\t\t\t\treq.status === 1223\n\t\t\t\t\t) {\n\t\t\t\t\t\tc(req);\n\t\t\t\t\t} else {\n\t\t\t\t\t\te(req);\n\t\t\t\t\t}\n\t\t\t\t\treq.onreadystatechange = function () {};\n\t\t\t\t}\n\t\t\t};\n\n\t\t\treq.open("GET", url, true);\n\t\t\treq.responseType = "";\n\n\t\t\treq.send(null);\n\t\t},\n\t\tfunction () {\n\t\t\treq._canceled = true;\n\t\t\treq.abort();\n\t\t}\n\t);\n}\n'}}]);
+//# sourceMappingURL=1913.js.map

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
1913.js.map


+ 2 - 0
2350.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[2350],{2350:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=2350.js.map

+ 1 - 0
2350.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"2350.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-editor/hello-world/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
2507.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[2507],{2507:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=2507.js.map

+ 1 - 0
2507.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"2507.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/revealing-a-position/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
264.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
264.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
2694.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
2694.js.map


+ 2 - 0
297.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[297],{297:(e,o,i)=>{i.r(o),i.d(o,{default:()=>n});const n='var originalModel = monaco.editor.createModel("heLLo world!", "text/plain");\nvar modifiedModel = monaco.editor.createModel("hello orlando!", "text/plain");\n\nvar diffEditor = monaco.editor.createDiffEditor(\n\tdocument.getElementById("container")\n);\ndiffEditor.setModel({\n\toriginal: originalModel,\n\tmodified: modifiedModel,\n});\n'}}]);
+//# sourceMappingURL=297.js.map

+ 1 - 0
297.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"297.js","mappings":"4IAAA,4V","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/hello-diff-world/sample.js"],"sourcesContent":["export default \"var originalModel = monaco.editor.createModel(\\\"heLLo world!\\\", \\\"text/plain\\\");\\nvar modifiedModel = monaco.editor.createModel(\\\"hello orlando!\\\", \\\"text/plain\\\");\\n\\nvar diffEditor = monaco.editor.createDiffEditor(\\n\\tdocument.getElementById(\\\"container\\\")\\n);\\ndiffEditor.setModel({\\n\\toriginal: originalModel,\\n\\tmodified: modifiedModel,\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
2992.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[2992],{2992:(n,t,e)=>{e.r(t),e.d(t,{default:()=>i});const i='function lineNumbersFunc(originalLineNumber) {\n\tvar map = [\n\t\t"O",\n\t\t"I",\n\t\t"II",\n\t\t"III",\n\t\t"IV",\n\t\t"V",\n\t\t"VI",\n\t\t"VII",\n\t\t"VIII",\n\t\t"IX",\n\t\t"X",\n\t];\n\tif (originalLineNumber < map.length) {\n\t\treturn map[originalLineNumber];\n\t}\n\treturn originalLineNumber;\n}\n\nvar jsCode = [\n\t\'"use strict";\',\n\t"function Person(age) {",\n\t"\tif (age) {",\n\t"\t\tthis.age = age;",\n\t"\t}",\n\t"}",\n\t"Person.prototype.getAge = function () {",\n\t"\treturn this.age;",\n\t"};",\n].join("\\n");\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: jsCode,\n\tlanguage: "javascript",\n\tlineNumbers: lineNumbersFunc,\n});\n'}}]);
+//# sourceMappingURL=2992.js.map

+ 1 - 0
2992.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"2992.js","mappings":"8IAAA,isB","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/customizing-the-line-numbers/sample.js"],"sourcesContent":["export default \"function lineNumbersFunc(originalLineNumber) {\\n\\tvar map = [\\n\\t\\t\\\"O\\\",\\n\\t\\t\\\"I\\\",\\n\\t\\t\\\"II\\\",\\n\\t\\t\\\"III\\\",\\n\\t\\t\\\"IV\\\",\\n\\t\\t\\\"V\\\",\\n\\t\\t\\\"VI\\\",\\n\\t\\t\\\"VII\\\",\\n\\t\\t\\\"VIII\\\",\\n\\t\\t\\\"IX\\\",\\n\\t\\t\\\"X\\\",\\n\\t];\\n\\tif (originalLineNumber < map.length) {\\n\\t\\treturn map[originalLineNumber];\\n\\t}\\n\\treturn originalLineNumber;\\n}\\n\\nvar jsCode = [\\n\\t'\\\"use strict\\\";',\\n\\t\\\"function Person(age) {\\\",\\n\\t\\\"\\tif (age) {\\\",\\n\\t\\\"\\t\\tthis.age = age;\\\",\\n\\t\\\"\\t}\\\",\\n\\t\\\"}\\\",\\n\\t\\\"Person.prototype.getAge = function () {\\\",\\n\\t\\\"\\treturn this.age;\\\",\\n\\t\\\"};\\\",\\n].join(\\\"\\\\n\\\");\\n\\nvar editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: jsCode,\\n\\tlanguage: \\\"javascript\\\",\\n\\tlineNumbers: lineNumbersFunc,\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3021.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3021],{3021:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=3021.js.map

+ 1 - 0
3021.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3021.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3080.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3080],{3080:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=3080.js.map

+ 1 - 0
3080.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3080.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/folding-provider-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3153.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3153],{3153:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=3153.js.map

+ 1 - 0
3153.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3153.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/revealing-a-position/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3180.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3180],{3180:(t,n,e)=>{e.r(n),e.d(n,{default:()=>a});const a='const value = `\nconst f = (a, b) => a + b;\n\nconst result = f(2, 5);\n`;\n\nconst editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue,\n\tlanguage: "javascript",\n});\n\nmonaco.languages.registerInlayHintsProvider("javascript", {\n\tprovideInlayHints(model, range, token) {\n\t\treturn [\n\t\t\t{\n\t\t\t\tkind: monaco.languages.InlayHintKind.Type,\n\t\t\t\tposition: { column: 13, lineNumber: 4 },\n\t\t\t\ttext: `: Number`,\n\t\t\t},\n\t\t\t{\n\t\t\t\tkind: monaco.languages.InlayHintKind.Type,\n\t\t\t\tposition: { column: 13, lineNumber: 2 },\n\t\t\t\ttext: `: Number`,\n\t\t\t},\n\t\t\t{\n\t\t\t\tkind: monaco.languages.InlayHintKind.Type,\n\t\t\t\tposition: { column: 16, lineNumber: 2 },\n\t\t\t\ttext: `: Number`,\n\t\t\t\twhitespaceBefore: true, // see difference between a and b parameter\n\t\t\t},\n\t\t\t{\n\t\t\t\tkind: monaco.languages.InlayHintKind.Parameter,\n\t\t\t\tposition: { column: 18, lineNumber: 4 },\n\t\t\t\ttext: `a:`,\n\t\t\t},\n\t\t\t{\n\t\t\t\tkind: monaco.languages.InlayHintKind.Parameter,\n\t\t\t\tposition: { column: 21, lineNumber: 4 },\n\t\t\t\ttext: `b:`,\n\t\t\t\twhitespaceAfter: true, // similar to whitespaceBefore\n\t\t\t},\n\t\t];\n\t},\n});\n'}}]);
+//# sourceMappingURL=3180.js.map

+ 1 - 0
3180.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3180.js","mappings":"8IAAA,ysC","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/inlay-hints-provider-example/sample.js"],"sourcesContent":["export default \"const value = `\\nconst f = (a, b) => a + b;\\n\\nconst result = f(2, 5);\\n`;\\n\\nconst editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue,\\n\\tlanguage: \\\"javascript\\\",\\n});\\n\\nmonaco.languages.registerInlayHintsProvider(\\\"javascript\\\", {\\n\\tprovideInlayHints(model, range, token) {\\n\\t\\treturn [\\n\\t\\t\\t{\\n\\t\\t\\t\\tkind: monaco.languages.InlayHintKind.Type,\\n\\t\\t\\t\\tposition: { column: 13, lineNumber: 4 },\\n\\t\\t\\t\\ttext: `: Number`,\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\tkind: monaco.languages.InlayHintKind.Type,\\n\\t\\t\\t\\tposition: { column: 13, lineNumber: 2 },\\n\\t\\t\\t\\ttext: `: Number`,\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\tkind: monaco.languages.InlayHintKind.Type,\\n\\t\\t\\t\\tposition: { column: 16, lineNumber: 2 },\\n\\t\\t\\t\\ttext: `: Number`,\\n\\t\\t\\t\\twhitespaceBefore: true, // see difference between a and b parameter\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\tkind: monaco.languages.InlayHintKind.Parameter,\\n\\t\\t\\t\\tposition: { column: 18, lineNumber: 4 },\\n\\t\\t\\t\\ttext: `a:`,\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\tkind: monaco.languages.InlayHintKind.Parameter,\\n\\t\\t\\t\\tposition: { column: 21, lineNumber: 4 },\\n\\t\\t\\t\\ttext: `b:`,\\n\\t\\t\\t\\twhitespaceAfter: true, // similar to whitespaceBefore\\n\\t\\t\\t},\\n\\t\\t];\\n\\t},\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3377.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3377],{3377:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=3377.js.map

+ 1 - 0
3377.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3377.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/navigating-a-diff/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3387.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3387],{3387:(t,n,e)=>{e.r(n),e.d(n,{default:()=>o});const o='var editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: \'{\\n\\t"dependencies": {\\n\\t\\t\\n\\t}\\n}\\n\',\n\tlanguage: "json",\n});\n\nvar commandId = editor.addCommand(\n\t0,\n\tfunction () {\n\t\t// services available in `ctx`\n\t\talert("my command is executing!");\n\t},\n\t""\n);\n\nmonaco.languages.registerCodeLensProvider("json", {\n\tprovideCodeLenses: function (model, token) {\n\t\treturn {\n\t\t\tlenses: [\n\t\t\t\t{\n\t\t\t\t\trange: {\n\t\t\t\t\t\tstartLineNumber: 1,\n\t\t\t\t\t\tstartColumn: 1,\n\t\t\t\t\t\tendLineNumber: 2,\n\t\t\t\t\t\tendColumn: 1,\n\t\t\t\t\t},\n\t\t\t\t\tid: "First Line",\n\t\t\t\t\tcommand: {\n\t\t\t\t\t\tid: commandId,\n\t\t\t\t\t\ttitle: "First Line",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t\tdispose: () => {},\n\t\t};\n\t},\n\tresolveCodeLens: function (model, codeLens, token) {\n\t\treturn codeLens;\n\t},\n});\n'}}]);
+//# sourceMappingURL=3387.js.map

+ 1 - 0
3387.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3387.js","mappings":"8IAAA,w4B","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/codelens-provider-example/sample.js"],"sourcesContent":["export default \"var editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: '{\\\\n\\\\t\\\"dependencies\\\": {\\\\n\\\\t\\\\t\\\\n\\\\t}\\\\n}\\\\n',\\n\\tlanguage: \\\"json\\\",\\n});\\n\\nvar commandId = editor.addCommand(\\n\\t0,\\n\\tfunction () {\\n\\t\\t// services available in `ctx`\\n\\t\\talert(\\\"my command is executing!\\\");\\n\\t},\\n\\t\\\"\\\"\\n);\\n\\nmonaco.languages.registerCodeLensProvider(\\\"json\\\", {\\n\\tprovideCodeLenses: function (model, token) {\\n\\t\\treturn {\\n\\t\\t\\tlenses: [\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\trange: {\\n\\t\\t\\t\\t\\t\\tstartLineNumber: 1,\\n\\t\\t\\t\\t\\t\\tstartColumn: 1,\\n\\t\\t\\t\\t\\t\\tendLineNumber: 2,\\n\\t\\t\\t\\t\\t\\tendColumn: 1,\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t\\tid: \\\"First Line\\\",\\n\\t\\t\\t\\t\\tcommand: {\\n\\t\\t\\t\\t\\t\\tid: commandId,\\n\\t\\t\\t\\t\\t\\ttitle: \\\"First Line\\\",\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t},\\n\\t\\t\\t],\\n\\t\\t\\tdispose: () => {},\\n\\t\\t};\\n\\t},\\n\\tresolveCodeLens: function (model, codeLens, token) {\\n\\t\\treturn codeLens;\\n\\t},\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3439.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3439],{5932:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});const l='// The colorizeElement-function will read the data-lang-attribute\n// from the element to select the correct language mode. In this\n// sample it is text/css.\nmonaco.editor.colorizeElement(document.getElementById("code"));\n'}}]);
+//# sourceMappingURL=3439.js.map

+ 1 - 0
3439.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3439.js","mappings":"8IAAA,2O","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-editor/syntax-highlighting-for-html-elements/sample.js"],"sourcesContent":["export default \"// The colorizeElement-function will read the data-lang-attribute\\n// from the element to select the correct language mode. In this\\n// sample it is text/css.\\nmonaco.editor.colorizeElement(document.getElementById(\\\"code\\\"));\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3642.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3642],{3642:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});const o='// Theme matching (i.e. applying a style to a token) happens in JavaScript.\n// We must therefore register the theme rules in JavaScript.\n\n// A custom theme must name its base theme (i.e. \'vs\', \'vs-dark\' or \'hc-black\')\n// It can then choose to inherit the rules from the base theme or not\n// A rule token matching is prefix based: e.g.\n//  - string will match a token with type: string, string.double.js or string.html\n//  - string.double will match a token with type string.double but will not match string or string.html\n\n// !!! Tokens can be inspected using F1 > Developer: Inspect Tokens !!!\n\nmonaco.editor.defineTheme("myCustomTheme", {\n\tbase: "vs", // can also be vs-dark or hc-black\n\tinherit: true, // can also be false to completely replace the builtin rules\n\trules: [\n\t\t{\n\t\t\ttoken: "comment",\n\t\t\tforeground: "ffa500",\n\t\t\tfontStyle: "italic underline",\n\t\t},\n\t\t{ token: "comment.js", foreground: "008800", fontStyle: "bold" },\n\t\t{ token: "comment.css", foreground: "0000ff" }, // will inherit fontStyle from `comment` above\n\t],\n\tcolors: {\n\t\t"editor.foreground": "#000000",\n\t},\n});\n\nmonaco.editor.create(document.getElementById("container"), {\n\tvalue: getCode(),\n\tlanguage: "text/html",\n\ttheme: "myCustomTheme",\n});\n\nfunction getCode() {\n\treturn (\n\t\t\'<html>\x3c!-- // !!! Tokens can be inspected using F1 > Developer: Inspect Tokens !!! --\x3e\\n<head>\\n\t\x3c!-- HTML comment --\x3e\\n\t<style type="text/css">\\n\t\t/* CSS comment */\\n\t</style>\\n\t<script type="javascript">\\n\t\t// JavaScript comment\\n\t</\' +\n\t\t"script>\\n</head>\\n<body></body>\\n</html>"\n\t);\n}\n'}}]);
+//# sourceMappingURL=3642.js.map

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
3642.js.map


+ 2 - 0
3673.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3673],{3673:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=3673.js.map

+ 1 - 0
3673.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3673.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/adding-a-command-to-an-editor-instance/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3714.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3714],{3714:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=3714.js.map

+ 1 - 0
3714.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3714.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-editor/editor-basic-options/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3760.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3760],{3760:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=3760.js.map

+ 1 - 0
3760.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3760.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/symbols-provider-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3818.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3818],{7352:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=3818.js.map

+ 1 - 0
3818.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3818.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/customizing-the-line-numbers/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3836.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3836],{3836:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=3836.js.map

+ 1 - 0
3836.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3836.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/codelens-provider-example/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
3872.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[3872],{3872:(i,t,e)=>{e.r(t),e.d(t,{default:()=>n});const n='<div id="output" style="height: 29%; font-family: \'Courier New\', monospace">\n\tLast 3 events:<br />\n</div>\n<div style="background: #ccc; height: 1%"></div>\n<div id="container" style="height: 70%"></div>\n'}}]);
+//# sourceMappingURL=3872.js.map

+ 1 - 0
3872.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"3872.js","mappings":"8IAAA,4N","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/listening-to-mouse-events/sample.html"],"sourcesContent":["export default \"<div id=\\\"output\\\" style=\\\"height: 29%; font-family: 'Courier New', monospace\\\">\\n\\tLast 3 events:<br />\\n</div>\\n<div style=\\\"background: #ccc; height: 1%\\\"></div>\\n<div id=\\\"container\\\" style=\\\"height: 70%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4076.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4076],{4076:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=4076.js.map

+ 1 - 0
4076.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4076.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/configure-json-defaults/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4101.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4101],{4101:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=4101.js.map

+ 1 - 0
4101.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4101.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4124.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4124],{4124:(e,n,t)=>{t.r(n),t.d(n,{default:()=>i});const i='var originalModel = monaco.editor.createModel(\n\t"This line is removed on the right.\\njust some text\\nabcd\\nefgh\\nSome more text",\n\t"text/plain"\n);\nvar modifiedModel = monaco.editor.createModel(\n\t"just some text\\nabcz\\nzzzzefgh\\nSome more text\\nThis line is removed on the left.",\n\t"text/plain"\n);\n\nvar diffEditor = monaco.editor.createDiffEditor(\n\tdocument.getElementById("container"),\n\t{\n\t\t// You can optionally disable the resizing\n\t\tenableSplitViewResizing: false,\n\n\t\t// Render the diff inline\n\t\trenderSideBySide: false,\n\t}\n);\ndiffEditor.setModel({\n\toriginal: originalModel,\n\tmodified: modifiedModel,\n});\n'}}]);
+//# sourceMappingURL=4124.js.map

+ 1 - 0
4124.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4124.js","mappings":"8IAAA,0pB","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/inline-diff-example/sample.js"],"sourcesContent":["export default \"var originalModel = monaco.editor.createModel(\\n\\t\\\"This line is removed on the right.\\\\njust some text\\\\nabcd\\\\nefgh\\\\nSome more text\\\",\\n\\t\\\"text/plain\\\"\\n);\\nvar modifiedModel = monaco.editor.createModel(\\n\\t\\\"just some text\\\\nabcz\\\\nzzzzefgh\\\\nSome more text\\\\nThis line is removed on the left.\\\",\\n\\t\\\"text/plain\\\"\\n);\\n\\nvar diffEditor = monaco.editor.createDiffEditor(\\n\\tdocument.getElementById(\\\"container\\\"),\\n\\t{\\n\\t\\t// You can optionally disable the resizing\\n\\t\\tenableSplitViewResizing: false,\\n\\n\\t\\t// Render the diff inline\\n\\t\\trenderSideBySide: false,\\n\\t}\\n);\\ndiffEditor.setModel({\\n\\toriginal: originalModel,\\n\\tmodified: modifiedModel,\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4260.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4260],{4260:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});const o='// Configures two JSON schemas, with references.\n\nvar jsonCode = ["{", \'    "p1": "v3",\', \'    "p2": false\', "}"].join("\\n");\nvar modelUri = monaco.Uri.parse("a://b/foo.json"); // a made up unique URI for our model\nvar model = monaco.editor.createModel(jsonCode, "json", modelUri);\n\n// configure the JSON language support with schemas and schema associations\nmonaco.languages.json.jsonDefaults.setDiagnosticsOptions({\n\tvalidate: true,\n\tschemas: [\n\t\t{\n\t\t\turi: "http://myserver/foo-schema.json", // id of the first schema\n\t\t\tfileMatch: [modelUri.toString()], // associate with our model\n\t\t\tschema: {\n\t\t\t\ttype: "object",\n\t\t\t\tproperties: {\n\t\t\t\t\tp1: {\n\t\t\t\t\t\tenum: ["v1", "v2"],\n\t\t\t\t\t},\n\t\t\t\t\tp2: {\n\t\t\t\t\t\t$ref: "http://myserver/bar-schema.json", // reference the second schema\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\turi: "http://myserver/bar-schema.json", // id of the second schema\n\t\t\tschema: {\n\t\t\t\ttype: "object",\n\t\t\t\tproperties: {\n\t\t\t\t\tq1: {\n\t\t\t\t\t\tenum: ["x1", "x2"],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n});\n\nmonaco.editor.create(document.getElementById("container"), {\n\tmodel: model,\n});\n'}}]);
+//# sourceMappingURL=4260.js.map

+ 1 - 0
4260.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4260.js","mappings":"8IAAA,mtC","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/configure-json-defaults/sample.js"],"sourcesContent":["export default \"// Configures two JSON schemas, with references.\\n\\nvar jsonCode = [\\\"{\\\", '    \\\"p1\\\": \\\"v3\\\",', '    \\\"p2\\\": false', \\\"}\\\"].join(\\\"\\\\n\\\");\\nvar modelUri = monaco.Uri.parse(\\\"a://b/foo.json\\\"); // a made up unique URI for our model\\nvar model = monaco.editor.createModel(jsonCode, \\\"json\\\", modelUri);\\n\\n// configure the JSON language support with schemas and schema associations\\nmonaco.languages.json.jsonDefaults.setDiagnosticsOptions({\\n\\tvalidate: true,\\n\\tschemas: [\\n\\t\\t{\\n\\t\\t\\turi: \\\"http://myserver/foo-schema.json\\\", // id of the first schema\\n\\t\\t\\tfileMatch: [modelUri.toString()], // associate with our model\\n\\t\\t\\tschema: {\\n\\t\\t\\t\\ttype: \\\"object\\\",\\n\\t\\t\\t\\tproperties: {\\n\\t\\t\\t\\t\\tp1: {\\n\\t\\t\\t\\t\\t\\tenum: [\\\"v1\\\", \\\"v2\\\"],\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t\\tp2: {\\n\\t\\t\\t\\t\\t\\t$ref: \\\"http://myserver/bar-schema.json\\\", // reference the second schema\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t},\\n\\t\\t\\t},\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\turi: \\\"http://myserver/bar-schema.json\\\", // id of the second schema\\n\\t\\t\\tschema: {\\n\\t\\t\\t\\ttype: \\\"object\\\",\\n\\t\\t\\t\\tproperties: {\\n\\t\\t\\t\\t\\tq1: {\\n\\t\\t\\t\\t\\t\\tenum: [\\\"x1\\\", \\\"x2\\\"],\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\t},\\n\\t\\t\\t},\\n\\t\\t},\\n\\t],\\n});\\n\\nmonaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tmodel: model,\\n});\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4308.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4308],{4308:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=4308.js.map

+ 1 - 0
4308.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4308.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/listening-to-key-events/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
4336.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
4336.js.map


+ 2 - 0
4419.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4419],{4419:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=4419.js.map

+ 1 - 0
4419.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4419.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/hello-diff-world/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4523.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4523],{4523:(e,n,t)=>{t.r(n),t.d(n,{default:()=>r});const r='var jsCodeArr = [\n\t"// ------------------------------",\n\t"// ------------------------------",\n\t"function Person(age) {",\n\t"\tif (age) {",\n\t"\t\tthis.age = age;",\n\t"\t}",\n\t"}",\n\t"Person.prototype.getAge = function () {",\n\t"\treturn this.age;",\n\t"};",\n\t"",\n\t"",\n];\n\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\n\njsCodeArr[49] +=\n\t"And this is some long line. And this is some long line. And this is some long line. And this is some long line. And this is some long line. ";\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: jsCodeArr.join("\\n"),\n\tlanguage: "javascript",\n});\n\neditor.revealPositionInCenter({ lineNumber: 50, column: 120 });\n// Also see:\n// - editor.revealLine\n// - editor.revealLineInCenter\n// - editor.revealLineInCenterIfOutsideViewport\n// - editor.revealLines\n// - editor.revealLinesInCenter\n// - editor.revealLinesInCenterIfOutsideViewport\n// - editor.revealPosition\n// - editor.revealPositionInCenter\n// - editor.revealPositionInCenterIfOutsideViewport\n// - editor.revealRange\n// - editor.revealRangeInCenter\n// - editor.revealRangeInCenterIfOutsideViewport\n'}}]);
+//# sourceMappingURL=4523.js.map

+ 1 - 0
4523.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4523.js","mappings":"8IAAA,kwC","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/revealing-a-position/sample.js"],"sourcesContent":["export default \"var jsCodeArr = [\\n\\t\\\"// ------------------------------\\\",\\n\\t\\\"// ------------------------------\\\",\\n\\t\\\"function Person(age) {\\\",\\n\\t\\\"\\tif (age) {\\\",\\n\\t\\\"\\t\\tthis.age = age;\\\",\\n\\t\\\"\\t}\\\",\\n\\t\\\"}\\\",\\n\\t\\\"Person.prototype.getAge = function () {\\\",\\n\\t\\\"\\treturn this.age;\\\",\\n\\t\\\"};\\\",\\n\\t\\\"\\\",\\n\\t\\\"\\\",\\n];\\n\\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\\njsCodeArr = jsCodeArr.concat(jsCodeArr.slice(0));\\n\\njsCodeArr[49] +=\\n\\t\\\"And this is some long line. And this is some long line. And this is some long line. And this is some long line. And this is some long line. \\\";\\n\\nvar editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: jsCodeArr.join(\\\"\\\\n\\\"),\\n\\tlanguage: \\\"javascript\\\",\\n});\\n\\neditor.revealPositionInCenter({ lineNumber: 50, column: 120 });\\n// Also see:\\n// - editor.revealLine\\n// - editor.revealLineInCenter\\n// - editor.revealLineInCenterIfOutsideViewport\\n// - editor.revealLines\\n// - editor.revealLinesInCenter\\n// - editor.revealLinesInCenterIfOutsideViewport\\n// - editor.revealPosition\\n// - editor.revealPositionInCenter\\n// - editor.revealPositionInCenterIfOutsideViewport\\n// - editor.revealRange\\n// - editor.revealRangeInCenter\\n// - editor.revealRangeInCenterIfOutsideViewport\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4541.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4541],{4541:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=4541.js.map

+ 1 - 0
4541.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4541.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/listening-to-key-events/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
4814.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4814],{4814:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=4814.js.map

+ 1 - 0
4814.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"4814.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/inlay-hints-provider-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
4867.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
4867.js.map


+ 2 - 0
5026.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5026],{5026:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});const o='// The diff editor offers a navigator to jump between changes. Once the diff is computed the <em>next()</em> and <em>previous()</em> method allow navigation. By default setting the selection in the editor manually resets the navigation state.\nvar originalModel = monaco.editor.createModel(\n\t"just some text\\n\\nHello World\\n\\nSome more text",\n\t"text/plain"\n);\nvar modifiedModel = monaco.editor.createModel(\n\t"just some Text\\n\\nHello World\\n\\nSome more changes",\n\t"text/plain"\n);\n\nvar diffEditor = monaco.editor.createDiffEditor(\n\tdocument.getElementById("container")\n);\ndiffEditor.setModel({\n\toriginal: originalModel,\n\tmodified: modifiedModel,\n});\n\nvar navi = monaco.editor.createDiffNavigator(diffEditor, {\n\tfollowsCaret: true, // resets the navigator state when the user selects something in the editor\n\tignoreCharChanges: true, // jump from line to line\n});\n\nwindow.setInterval(function () {\n\tnavi.next();\n}, 2000);\n'}}]);
+//# sourceMappingURL=5026.js.map

+ 1 - 0
5026.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5026.js","mappings":"8IAAA,48B","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-diffeditor/navigating-a-diff/sample.js"],"sourcesContent":["export default \"// The diff editor offers a navigator to jump between changes. Once the diff is computed the <em>next()</em> and <em>previous()</em> method allow navigation. By default setting the selection in the editor manually resets the navigation state.\\nvar originalModel = monaco.editor.createModel(\\n\\t\\\"just some text\\\\n\\\\nHello World\\\\n\\\\nSome more text\\\",\\n\\t\\\"text/plain\\\"\\n);\\nvar modifiedModel = monaco.editor.createModel(\\n\\t\\\"just some Text\\\\n\\\\nHello World\\\\n\\\\nSome more changes\\\",\\n\\t\\\"text/plain\\\"\\n);\\n\\nvar diffEditor = monaco.editor.createDiffEditor(\\n\\tdocument.getElementById(\\\"container\\\")\\n);\\ndiffEditor.setModel({\\n\\toriginal: originalModel,\\n\\tmodified: modifiedModel,\\n});\\n\\nvar navi = monaco.editor.createDiffNavigator(diffEditor, {\\n\\tfollowsCaret: true, // resets the navigator state when the user selects something in the editor\\n\\tignoreCharChanges: true, // jump from line to line\\n});\\n\\nwindow.setInterval(function () {\\n\\tnavi.next();\\n}, 2000);\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5198.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5198],{5198:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=5198.js.map

+ 1 - 0
5198.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5198.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5256.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5256],{5256:(t,n,e)=>{e.r(n),e.d(n,{default:()=>a});const a='var jsCode = [\n\t\'"use strict";\',\n\t"function Person(age) {",\n\t"\tif (age) {",\n\t"\t\tthis.age = age;",\n\t"\t}",\n\t"}",\n\t"Person.prototype.getAge = function () {",\n\t"\treturn this.age;",\n\t"};",\n].join("\\n");\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: jsCode,\n\tlanguage: "javascript",\n\tglyphMargin: true,\n});\n\nvar decorations = editor.deltaDecorations(\n\t[],\n\t[\n\t\t{\n\t\t\trange: new monaco.Range(3, 1, 3, 1),\n\t\t\toptions: {\n\t\t\t\tisWholeLine: true,\n\t\t\t\tclassName: "myContentClass",\n\t\t\t\tglyphMarginClassName: "myGlyphMarginClass",\n\t\t\t},\n\t\t},\n\t]\n);\n\n// You can now use `decorations` to change or remove the decoration\n'}}]);
+//# sourceMappingURL=5256.js.map

+ 1 - 0
5256.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5256.js","mappings":"8IAAA,ytB","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/rendering-glyphs-in-the-margin/sample.js"],"sourcesContent":["export default \"var jsCode = [\\n\\t'\\\"use strict\\\";',\\n\\t\\\"function Person(age) {\\\",\\n\\t\\\"\\tif (age) {\\\",\\n\\t\\\"\\t\\tthis.age = age;\\\",\\n\\t\\\"\\t}\\\",\\n\\t\\\"}\\\",\\n\\t\\\"Person.prototype.getAge = function () {\\\",\\n\\t\\\"\\treturn this.age;\\\",\\n\\t\\\"};\\\",\\n].join(\\\"\\\\n\\\");\\n\\nvar editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: jsCode,\\n\\tlanguage: \\\"javascript\\\",\\n\\tglyphMargin: true,\\n});\\n\\nvar decorations = editor.deltaDecorations(\\n\\t[],\\n\\t[\\n\\t\\t{\\n\\t\\t\\trange: new monaco.Range(3, 1, 3, 1),\\n\\t\\t\\toptions: {\\n\\t\\t\\t\\tisWholeLine: true,\\n\\t\\t\\t\\tclassName: \\\"myContentClass\\\",\\n\\t\\t\\t\\tglyphMarginClassName: \\\"myGlyphMarginClass\\\",\\n\\t\\t\\t},\\n\\t\\t},\\n\\t]\\n);\\n\\n// You can now use `decorations` to change or remove the decoration\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5274.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5274],{5274:(i,e,t)=>{t.r(e),t.d(e,{default:()=>a});const a='<div id="container" style="height: 100%"></div>\n'}}]);
+//# sourceMappingURL=5274.js.map

+ 1 - 0
5274.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5274.js","mappings":"8IAAA,2D","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/custom-languages/sample.html"],"sourcesContent":["export default \"<div id=\\\"container\\\" style=\\\"height: 100%\\\"></div>\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5336.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5336],{5336:(t,n,e)=>{e.r(n),e.d(n,{default:()=>a});const a='var jsCode = [\n\t\'"use strict";\',\n\t"function Person(age) {",\n\t"\tif (age) {",\n\t"\t\tthis.age = age;",\n\t"\t}",\n\t"}",\n\t"Person.prototype.getAge = function () {",\n\t"\treturn this.age;",\n\t"};",\n].join("\\n");\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: jsCode,\n\tlanguage: "javascript",\n});\n\nvar decorations = editor.deltaDecorations(\n\t[],\n\t[\n\t\t{\n\t\t\trange: new monaco.Range(3, 1, 5, 1),\n\t\t\toptions: {\n\t\t\t\tisWholeLine: true,\n\t\t\t\tlinesDecorationsClassName: "myLineDecoration",\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\trange: new monaco.Range(7, 1, 7, 24),\n\t\t\toptions: { inlineClassName: "myInlineDecoration" },\n\t\t},\n\t]\n);\n'}}]);
+//# sourceMappingURL=5336.js.map

+ 1 - 0
5336.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5336.js","mappings":"8IAAA,gtB","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/interacting-with-the-editor/line-and-inline-decorations/sample.js"],"sourcesContent":["export default \"var jsCode = [\\n\\t'\\\"use strict\\\";',\\n\\t\\\"function Person(age) {\\\",\\n\\t\\\"\\tif (age) {\\\",\\n\\t\\\"\\t\\tthis.age = age;\\\",\\n\\t\\\"\\t}\\\",\\n\\t\\\"}\\\",\\n\\t\\\"Person.prototype.getAge = function () {\\\",\\n\\t\\\"\\treturn this.age;\\\",\\n\\t\\\"};\\\",\\n].join(\\\"\\\\n\\\");\\n\\nvar editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: jsCode,\\n\\tlanguage: \\\"javascript\\\",\\n});\\n\\nvar decorations = editor.deltaDecorations(\\n\\t[],\\n\\t[\\n\\t\\t{\\n\\t\\t\\trange: new monaco.Range(3, 1, 5, 1),\\n\\t\\t\\toptions: {\\n\\t\\t\\t\\tisWholeLine: true,\\n\\t\\t\\t\\tlinesDecorationsClassName: \\\"myLineDecoration\\\",\\n\\t\\t\\t},\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\trange: new monaco.Range(7, 1, 7, 24),\\n\\t\\t\\toptions: { inlineClassName: \\\"myInlineDecoration\\\" },\\n\\t\\t},\\n\\t]\\n);\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5434.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5434],{5434:(a,p,c)=>{c.r(p),c.d(p,{default:()=>e});const e=""}}]);
+//# sourceMappingURL=5434.js.map

+ 1 - 0
5434.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5434.js","mappings":"8IAAA,U","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/extending-language-services/model-markers-example/sample.css"],"sourcesContent":["export default \"\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5496.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5496],{5496:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});const o='// Through the options literal, the behaviour of the editor can be easily customized.\n// Here are a few examples of config options that can be passed to the editor.\n// You can also call editor.updateOptions at any time to change the options.\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: "// First line\\nfunction hello() {\\n\\talert(\'Hello world!\');\\n}\\n// Last line",\n\tlanguage: "javascript",\n\n\tlineNumbers: "off",\n\troundedSelection: false,\n\tscrollBeyondLastLine: false,\n\treadOnly: false,\n\ttheme: "vs-dark",\n});\nsetTimeout(function () {\n\teditor.updateOptions({\n\t\tlineNumbers: "on",\n\t});\n}, 2000);\n'}}]);
+//# sourceMappingURL=5496.js.map

+ 1 - 0
5496.js.map

@@ -0,0 +1 @@
+{"version":3,"file":"5496.js","mappings":"8IAAA,yqB","sources":["file:////home/runner/work/monaco-editor/monaco-editor/website/src/website/data/playground-samples/creating-the-editor/editor-basic-options/sample.js"],"sourcesContent":["export default \"// Through the options literal, the behaviour of the editor can be easily customized.\\n// Here are a few examples of config options that can be passed to the editor.\\n// You can also call editor.updateOptions at any time to change the options.\\n\\nvar editor = monaco.editor.create(document.getElementById(\\\"container\\\"), {\\n\\tvalue: \\\"// First line\\\\nfunction hello() {\\\\n\\\\talert('Hello world!');\\\\n}\\\\n// Last line\\\",\\n\\tlanguage: \\\"javascript\\\",\\n\\n\\tlineNumbers: \\\"off\\\",\\n\\troundedSelection: false,\\n\\tscrollBeyondLastLine: false,\\n\\treadOnly: false,\\n\\ttheme: \\\"vs-dark\\\",\\n});\\nsetTimeout(function () {\\n\\teditor.updateOptions({\\n\\t\\tlineNumbers: \\\"on\\\",\\n\\t});\\n}, 2000);\\n\";"],"names":[],"sourceRoot":""}

+ 2 - 0
5508.js

@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5508],{8739:(t,n,e)=>{e.r(n),e.d(n,{default:()=>o});const o='var editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: [\n\t\t"",\n\t\t"class Example {",\n\t\t"\\tprivate m:number;",\n\t\t"",\n\t\t"\\tpublic met(): string {",\n\t\t\'\\t\\treturn "Hello world!";\',\n\t\t"\\t}",\n\t\t"}",\n\t].join("\\n"),\n\tlanguage: "typescript",\n});\n\n// Explanation:\n// Press F1 => the action will appear and run if it is enabled\n// Press Ctrl-F10 => the action will run if it is enabled\n// Press Chord Ctrl-K, Ctrl-M => the action will run if it is enabled\n\neditor.addAction({\n\t// An unique identifier of the contributed action.\n\tid: "my-unique-id",\n\n\t// A label of the action that will be presented to the user.\n\tlabel: "My Label!!!",\n\n\t// An optional array of keybindings for the action.\n\tkeybindings: [\n\t\tmonaco.KeyMod.CtrlCmd | monaco.KeyCode.F10,\n\t\t// chord\n\t\tmonaco.KeyMod.chord(\n\t\t\tmonaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyK,\n\t\t\tmonaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyM\n\t\t),\n\t],\n\n\t// A precondition for this action.\n\tprecondition: null,\n\n\t// A rule to evaluate on top of the precondition in order to dispatch the keybindings.\n\tkeybindingContext: null,\n\n\tcontextMenuGroupId: "navigation",\n\n\tcontextMenuOrder: 1.5,\n\n\t// Method that will be executed when the action is triggered.\n\t// @param editor The editor instance is passed in as a convenience\n\trun: function (ed) {\n\t\talert("i\'m running => " + ed.getPosition());\n\t},\n});\n'}}]);
+//# sourceMappingURL=5508.js.map

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff