mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
add AccessibilityInformation, https://github.com/microsoft/vscode/issues/129037
This commit is contained in:
@@ -105,7 +105,8 @@ export class ExtHostLanguages implements ExtHostLanguagesShape {
|
||||
label: data.text,
|
||||
detail: data.detail,
|
||||
severity: data.severity === LanguageStatusSeverity.Error ? Severity.Error : data.severity === LanguageStatusSeverity.Warning ? Severity.Warning : Severity.Info,
|
||||
command: data.command && this._commands.toInternal(data.command, commandDisposables)
|
||||
command: data.command && this._commands.toInternal(data.command, commandDisposables),
|
||||
accessibilityInfo: data.accessibilityInformation
|
||||
});
|
||||
}, 0);
|
||||
};
|
||||
@@ -154,6 +155,13 @@ export class ExtHostLanguages implements ExtHostLanguagesShape {
|
||||
data.severity = value;
|
||||
updateAsync();
|
||||
},
|
||||
get accessibilityInformation() {
|
||||
return data.accessibilityInformation;
|
||||
},
|
||||
set accessibilityInformation(value) {
|
||||
data.accessibilityInformation = value;
|
||||
updateAsync();
|
||||
},
|
||||
get command() {
|
||||
return data.command;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user