mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
color api: remove ColorRange.format
This commit is contained in:
@@ -149,7 +149,7 @@ export class ColorProvider implements DocumentColorProvider {
|
||||
let color = Color.fromHex(value);
|
||||
if (color) {
|
||||
let r = new Range(range.start.line, range.start.character + 1, range.end.line, range.end.character - 1);
|
||||
result.push(new ColorRange(r, color, ColorFormat_HEX, [ColorFormat_HEX]));
|
||||
result.push(new ColorRange(r, color, [ColorFormat_HEX]));
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user