Merge pull request #4304 from microsoft/aiday/changingTheColorRanges

Changing the color ranges of the color provider example in the playground
pull/3894/head^2
Henning Dieterichs 1 year ago committed by GitHub
commit d8144cfa0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,27 +43,27 @@ monaco.languages.registerColorProvider("colorLanguage", {
color: { red: 1, blue: 0, green: 0, alpha: 1 },
range: {
startLineNumber: 1,
startColumn: 0,
startColumn: 1,
endLineNumber: 1,
endColumn: 0,
endColumn: 4,
},
},
{
color: { red: 0, blue: 1, green: 0, alpha: 1 },
range: {
startLineNumber: 2,
startColumn: 0,
startColumn: 1,
endLineNumber: 2,
endColumn: 0,
endColumn: 5,
},
},
{
color: { red: 0, blue: 0, green: 1, alpha: 1 },
range: {
startLineNumber: 3,
startColumn: 0,
startColumn: 1,
endLineNumber: 3,
endColumn: 0,
endColumn: 6,
},
},
];

Loading…
Cancel
Save