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