From 99622db664d9a483bc9cdbf926fb08950597cf07 Mon Sep 17 00:00:00 2001 From: Aiday Marlen Kyzy Date: Thu, 14 Dec 2023 17:50:27 +0100 Subject: [PATCH] changing the range of the color --- .../color-provider-example/sample.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.js b/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.js index 5f6aa8ca3d..3d8db248ba 100644 --- a/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.js +++ b/website/src/website/data/playground-samples/extending-language-services/color-provider-example/sample.js @@ -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, }, }, ];