mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Fix comment content
This commit is contained in:
parent
3947765710
commit
a943d3d0b0
29 changed files with 30 additions and 30 deletions
|
|
@ -46,7 +46,7 @@ diffEditor.setModel({
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ diffEditor.setModel({
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ diffEditor.setModel({
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ window.setInterval(function() {
|
|||
}, 2000);
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ setTimeout(function() {
|
|||
}, 2000);
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ loadEditor(function() {
|
|||
monaco.editor.colorizeElement(document.getElementById('code'));
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ Object.keys(colors).forEach(function(key) {
|
|||
*/
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ function getCode() {
|
|||
}
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ monaco.languages.registerCodeLensProvider('json', {
|
|||
}
|
||||
});
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ monaco.languages.registerColorProvider("colorLanguage", {
|
|||
|
||||
})
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
language: "javascript"
|
||||
});
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
model: model
|
||||
});
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ function getCode() {
|
|||
}
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ monaco.languages.registerFoldingRangeProvider("foldLanguage", {
|
|||
}
|
||||
});
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ function xhr(url) {
|
|||
}
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ monaco.editor.create(document.getElementById("container"), {
|
|||
language: "json"
|
||||
});
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ setTimeout(function() {
|
|||
// you can use myCondition2.reset() to go back to the default
|
||||
}, 2000);
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ editor.addAction({
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ var decorations = editor.deltaDecorations([], [
|
|||
]);
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ var myBinding = editor.addCommand(monaco.KeyCode.F9, function() {
|
|||
// When cleaning up remember to call myBinding.dispose()
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ editor.onMouseLeave(function (e) {
|
|||
});
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ var decorations = editor.deltaDecorations([], [
|
|||
// You can now use `decorations` to change or remove the decoration
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ editor.revealPositionInCenter({ lineNumber: 50, column: 120 });
|
|||
// - editor.revealRangeInCenterIfOutsideViewport
|
||||
|
||||
|
||||
/*----------------------------------------SAMPLE CSS END*/
|
||||
/*----------------------------------------SAMPLE JS END*/
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue