update generated files

This commit is contained in:
Alexandru Dima 2021-08-26 16:55:47 +02:00
parent a647a1b617
commit 14965508c7
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
4 changed files with 5 additions and 4 deletions

View file

@ -177,7 +177,7 @@ monaco.editor.create(document.getElementById("container"), {
'peekViewEditor.matchHighlightBackground' // Match highlight color in the peek view editor.
/*
var colors = require('vs/platform/registry/common/platform').Registry.data['base.contributions.colors'].colorSchema.properties
var colors = require('vs/platform/registry/common/platform').Registry.data.get('base.contributions.colors').colorSchema.properties
Object.keys(colors).forEach(function(key) {
var val = colors[key];
console.log( '//' + val.description + '\n' + key);

View file

@ -35,7 +35,7 @@ THIS IS A GENERATED FILE VIA gulp generate-test-samples
loadEditor(function() {
/*----------------------------------------SAMPLE JS START*/
// Add additonal d.ts files to the JavaScript language service and change.
// Add additional d.ts files to the JavaScript language service and change.
// Also change the default compilation options.
// The sample below shows how a class Facts is declared and introduced
// to the system and how the compiler is told to use ES6 (target=2).

View file

@ -79,7 +79,7 @@ editor.addAction({
contextMenuOrder: 1.5,
// Method that will be executed when the action is triggered.
// @param editor The editor instance is passed in as a convinience
// @param editor The editor instance is passed in as a convenience
run: function(ed) {
alert("i'm running => " + ed.getPosition());
return null;

View file

@ -45,7 +45,8 @@ var myBinding = editor.addCommand(monaco.KeyCode.F9, function() {
alert('F9 pressed!');
});
// When cleaning up remember to call myBinding.dispose()
// You can't dispose `addCommand`
// If you need to dispose it you might use `addAction` or `registerCommand`
/*----------------------------------------SAMPLE JS END*/