remove automatic merging/overwriting of decorations, simplify proposed API, #54938

This commit is contained in:
Johannes Rieken
2019-09-04 10:52:31 +02:00
parent ddff4bc893
commit 07d19b90a5
14 changed files with 23 additions and 105 deletions

View File

@@ -661,11 +661,7 @@ export type SCMRawResource = [
string[] /*icons: light, dark*/,
string /*tooltip*/,
boolean /*strike through*/,
boolean /*faded*/,
string | undefined /*source*/,
string | undefined /*letter*/,
ThemeColor | null /*color*/
boolean /*faded*/
];
export type SCMRawResourceSplice = [
@@ -1272,7 +1268,7 @@ export interface DecorationRequest {
readonly uri: UriComponents;
}
export type DecorationData = [number, boolean, string, string, ThemeColor, string];
export type DecorationData = [number, boolean, string, string, ThemeColor];
export type DecorationReply = { [id: number]: DecorationData };
export interface ExtHostDecorationsShape {