|
|
-{"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":""}
|
|
|
+{"version":3,"file":"5336.js","mappings":"8IAAA,srB","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.createDecorationsCollection([\\n\\t{\\n\\t\\trange: new monaco.Range(3, 1, 5, 1),\\n\\t\\toptions: {\\n\\t\\t\\tisWholeLine: true,\\n\\t\\t\\tlinesDecorationsClassName: \\\"myLineDecoration\\\",\\n\\t\\t},\\n\\t},\\n\\t{\\n\\t\\trange: new monaco.Range(7, 1, 7, 24),\\n\\t\\toptions: { inlineClassName: \\\"myInlineDecoration\\\" },\\n\\t},\\n]);\\n\";"],"names":[],"sourceRoot":""}
|