Skip to content

Commit d8144cf

Browse files
authored
Merge pull request #4304 from microsoft/aiday/changingTheColorRanges
Changing the color ranges of the color provider example in the playground
2 parents cb106b4 + 99622db commit d8144cf

File tree

1 file changed

+6
-6
lines changed
  • website/src/website/data/playground-samples/extending-language-services/color-provider-example

1 file changed

+6
-6
lines changed

website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,27 @@ monaco.languages.registerColorProvider("colorLanguage", {
4343
color: { red: 1, blue: 0, green: 0, alpha: 1 },
4444
range: {
4545
startLineNumber: 1,
46-
startColumn: 0,
46+
startColumn: 1,
4747
endLineNumber: 1,
48-
endColumn: 0,
48+
endColumn: 4,
4949
},
5050
},
5151
{
5252
color: { red: 0, blue: 1, green: 0, alpha: 1 },
5353
range: {
5454
startLineNumber: 2,
55-
startColumn: 0,
55+
startColumn: 1,
5656
endLineNumber: 2,
57-
endColumn: 0,
57+
endColumn: 5,
5858
},
5959
},
6060
{
6161
color: { red: 0, blue: 0, green: 1, alpha: 1 },
6262
range: {
6363
startLineNumber: 3,
64-
startColumn: 0,
64+
startColumn: 1,
6565
endLineNumber: 3,
66-
endColumn: 0,
66+
endColumn: 6,
6767
},
6868
},
6969
];

0 commit comments

Comments
 (0)