@codingame/monaco-vscode-accessibility-service-override 17.2.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-accessibility-service-override",
3
- "version": "17.2.0",
3
+ "version": "18.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - accessibility service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "17.2.0",
19
- "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "17.2.0",
18
+ "@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common": "18.0.0",
19
+ "@codingame/monaco-vscode-api": "18.0.0",
20
20
  "marked": "14.0.0"
21
21
  },
22
22
  "main": "index.js",
@@ -1,7 +1,10 @@
1
1
  var audioAssets = {
2
2
  'vs/platform/accessibilitySignal/browser/media/break.mp3': new URL('./break.mp3', import.meta.url).href,
3
3
  'vs/platform/accessibilitySignal/browser/media/chatEditModifiedFile.mp3': new URL('./chatEditModifiedFile.mp3', import.meta.url).href,
4
+ 'vs/platform/accessibilitySignal/browser/media/chatUserActionRequired.mp3': new URL('./chatUserActionRequired.mp3', import.meta.url).href,
4
5
  'vs/platform/accessibilitySignal/browser/media/clear.mp3': new URL('./clear.mp3', import.meta.url).href,
6
+ 'vs/platform/accessibilitySignal/browser/media/codeActionApplied.mp3': new URL('./codeActionApplied.mp3', import.meta.url).href,
7
+ 'vs/platform/accessibilitySignal/browser/media/codeActionTriggered.mp3': new URL('./codeActionTriggered.mp3', import.meta.url).href,
5
8
  'vs/platform/accessibilitySignal/browser/media/diffLineDeleted.mp3': new URL('./diffLineDeleted.mp3', import.meta.url).href,
6
9
  'vs/platform/accessibilitySignal/browser/media/diffLineInserted.mp3': new URL('./diffLineInserted.mp3', import.meta.url).href,
7
10
  'vs/platform/accessibilitySignal/browser/media/diffLineModified.mp3': new URL('./diffLineModified.mp3', import.meta.url).href,
@@ -40,22 +40,22 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
40
40
  }
41
41
  showScreenReaderNotification() {
42
42
  this.screenReaderNotification = this.notificationService.prompt(Severity.Info, ( localize(
43
- 4174,
43
+ 4202,
44
44
  "Screen reader usage detected. Do you want to enable {0} to optimize the editor for screen reader usage?",
45
45
  'editor.accessibilitySupport'
46
46
  )), [{
47
- label: ( localize(4175, "Yes")),
47
+ label: ( localize(4203, "Yes")),
48
48
  run: () => {
49
49
  this.configurationService.updateValue('editor.accessibilitySupport', 'on', ConfigurationTarget.USER);
50
50
  }
51
51
  }, {
52
- label: ( localize(4176, "No")),
52
+ label: ( localize(4204, "No")),
53
53
  run: () => {
54
54
  this.configurationService.updateValue('editor.accessibilitySupport', 'off', ConfigurationTarget.USER);
55
55
  }
56
56
  },
57
57
  {
58
- label: ( localize(4177, "Learn More")),
58
+ label: ( localize(4205, "Learn More")),
59
59
  run: () => {
60
60
  this.openerService.open('https://code.visualstudio.com/docs/editor/accessibility#_screen-readers');
61
61
  }
@@ -68,9 +68,9 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
68
68
  updateScreenReaderModeElement(visible) {
69
69
  if (visible) {
70
70
  if (!this.screenReaderModeElement.value) {
71
- const text = ( localize(4178, "Screen Reader Optimized"));
71
+ const text = ( localize(4206, "Screen Reader Optimized"));
72
72
  this.screenReaderModeElement.value = this.statusbarService.addEntry({
73
- name: ( localize(4179, "Screen Reader Mode")),
73
+ name: ( localize(4207, "Screen Reader Mode")),
74
74
  text,
75
75
  ariaLabel: text,
76
76
  command: 'showEditorScreenReaderNotification',
@@ -43,7 +43,7 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
43
43
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
44
44
  import { FloatingEditorClickMenu } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/codeeditor';
45
45
  import { IChatCodeBlockContextProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
46
- import { getSimpleEditorOptions } from '@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
46
+ import { getSimpleEditorOptions } from '@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
47
47
  import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
48
48
  import { accessibilityHelpIsShown, accessibleViewIsShown, accessibleViewSupportsNavigation, accessibleViewVerbosityEnabled, accessibleViewGoToSymbolSupported, accessibleViewCurrentProviderId, accessibleViewInCodeBlock, accessibleViewContainsCodeBlocks, accessibleViewOnLastLine, accessibleViewHasUnassignedKeybindings, accessibleViewHasAssignedKeybindings, AccessibilityWorkbenchSettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
49
49
  import { resolveContentAndKeybindingItems } from './accessibleViewKeybindingResolver.js';
@@ -379,8 +379,8 @@ let AccessibleView = class AccessibleView extends Disposable {
379
379
  const disposables = this._register(( new DisposableStore()));
380
380
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
381
381
  quickPick.items = items;
382
- quickPick.title = ( localize(4180, 'Configure keybindings'));
383
- quickPick.placeholder = ( localize(4181, 'Select a command ID to configure a keybinding for it'));
382
+ quickPick.title = ( localize(4208, 'Configure keybindings'));
383
+ quickPick.placeholder = ( localize(4209, 'Select a command ID to configure a keybinding for it'));
384
384
  quickPick.show();
385
385
  disposables.add(quickPick.onDidAccept(async () => {
386
386
  const item = quickPick.selectedItems[0];
@@ -420,7 +420,7 @@ let AccessibleView = class AccessibleView extends Disposable {
420
420
  }
421
421
  }
422
422
  if (label) {
423
- symbols.push({ markdownToParse: label, label: ( localize(4182, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4183, "({0}) {1}", token.type, label)), firstListItem });
423
+ symbols.push({ markdownToParse: label, label: ( localize(4210, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4211, "({0}) {1}", token.type, label)), firstListItem });
424
424
  firstListItem = undefined;
425
425
  }
426
426
  }
@@ -453,7 +453,7 @@ let AccessibleView = class AccessibleView extends Disposable {
453
453
  }
454
454
  this._configurationService.updateValue(this._currentProvider?.verbositySettingKey, false);
455
455
  alert(( localize(
456
- 4184,
456
+ 4212,
457
457
  '{0} accessibility verbosity is now disabled',
458
458
  this._currentProvider.verbositySettingKey
459
459
  )));
@@ -532,17 +532,17 @@ let AccessibleView = class AccessibleView extends Disposable {
532
532
  const hasActions = this._accessibleViewSupportsNavigation.get() || this._accessibleViewVerbosityEnabled.get() || this._accessibleViewGoToSymbolSupported.get() || provider.actions?.length;
533
533
  if (verbose && !showAccessibleViewHelp && hasActions) {
534
534
  actionsHint = provider.options.position ? ( localize(
535
- 4185,
535
+ 4213,
536
536
  'Explore actions such as disabling this hint (Shift+Tab), use Escape to exit this dialog.'
537
- )) : ( localize(4186, 'Explore actions such as disabling this hint (Shift+Tab).'));
537
+ )) : ( localize(4214, 'Explore actions such as disabling this hint (Shift+Tab).'));
538
538
  }
539
- let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4187, "Accessibility Help")) : ( localize(4188, "Accessible View"));
539
+ let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4215, "Accessibility Help")) : ( localize(4216, "Accessible View"));
540
540
  this._title.textContent = ariaLabel;
541
541
  if (actionsHint && provider.options.type === AccessibleViewType.View) {
542
- ariaLabel = ( localize(4189, "Accessible View, {0}", actionsHint));
542
+ ariaLabel = ( localize(4217, "Accessible View, {0}", actionsHint));
543
543
  }
544
544
  else if (actionsHint) {
545
- ariaLabel = ( localize(4190, "Accessibility Help, {0}", actionsHint));
545
+ ariaLabel = ( localize(4218, "Accessibility Help, {0}", actionsHint));
546
546
  }
547
547
  if (isWindows && widgetIsFocused) {
548
548
  ariaLabel = '';
@@ -613,7 +613,7 @@ let AccessibleView = class AccessibleView extends Disposable {
613
613
  return disposableStore;
614
614
  }
615
615
  _updateToolbar(providedActions, type) {
616
- this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4191, 'Accessibility Help')) : ( localize(4192, "Accessible View")));
616
+ this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4219, 'Accessibility Help')) : ( localize(4220, "Accessible View")));
617
617
  const toolbarMenu = this._register(this._menuService.createMenu(MenuId.AccessibleView, this._contextKeyService));
618
618
  const menuActions = getFlatActionBarActions(toolbarMenu.getActions({}));
619
619
  if (providedActions) {
@@ -715,9 +715,9 @@ let AccessibleView = class AccessibleView extends Disposable {
715
715
  _accessibleViewHelpDialogContent(providerHasSymbols) {
716
716
  const navigationHint = this._navigationHint();
717
717
  const goToSymbolHint = this._goToSymbolHint(providerHasSymbols);
718
- const toolbarHint = ( localize(4193, "Navigate to the toolbar (Shift+Tab)."));
718
+ const toolbarHint = ( localize(4221, "Navigate to the toolbar (Shift+Tab)."));
719
719
  const chatHints = this._getChatHints();
720
- let hint = ( localize(4194, "In the accessible view, you can:\n"));
720
+ let hint = ( localize(4222, "In the accessible view, you can:\n"));
721
721
  if (navigationHint) {
722
722
  hint += ' - ' + navigationHint + '\n';
723
723
  }
@@ -737,24 +737,24 @@ let AccessibleView = class AccessibleView extends Disposable {
737
737
  return;
738
738
  }
739
739
  return [( localize(
740
- 4195,
740
+ 4223,
741
741
  " - Insert the code block at the cursor{0}.",
742
742
  '<keybinding:workbench.action.chat.insertCodeBlock>'
743
743
  )),
744
744
  ( localize(
745
- 4196,
745
+ 4224,
746
746
  " - Insert the code block into a new file{0}.",
747
747
  '<keybinding:workbench.action.chat.insertIntoNewFile>'
748
748
  )),
749
749
  ( localize(
750
- 4197,
750
+ 4225,
751
751
  " - Run the code block in the terminal{0}.\n",
752
752
  '<keybinding:workbench.action.chat.runInTerminal>'
753
753
  ))].join('\n');
754
754
  }
755
755
  _navigationHint() {
756
756
  return localize(
757
- 4198,
757
+ 4226,
758
758
  "Show the next item{0} or previous item{1}.",
759
759
  `<keybinding:${AccessibilityCommandId.ShowNext}`,
760
760
  `<keybinding:${AccessibilityCommandId.ShowPrevious}>`
@@ -763,7 +763,7 @@ let AccessibleView = class AccessibleView extends Disposable {
763
763
  _disableVerbosityHint(provider) {
764
764
  if (provider.options.type === AccessibleViewType.Help && this._verbosityEnabled()) {
765
765
  return localize(
766
- 4199,
766
+ 4227,
767
767
  "\nDisable accessibility verbosity for this feature{0}.",
768
768
  `<keybinding:${AccessibilityCommandId.DisableVerbosityHint}>`
769
769
  );
@@ -775,7 +775,7 @@ let AccessibleView = class AccessibleView extends Disposable {
775
775
  return;
776
776
  }
777
777
  return localize(
778
- 4200,
778
+ 4228,
779
779
  'Go to a symbol{0}.',
780
780
  `<keybinding:${AccessibilityCommandId.GoToSymbol}>`
781
781
  );
@@ -784,7 +784,7 @@ let AccessibleView = class AccessibleView extends Disposable {
784
784
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureKeybindings)?.getAriaLabel();
785
785
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Unassigned Keybindings.';
786
786
  return localize(
787
- 4201,
787
+ 4229,
788
788
  '\nConfigure keybindings for commands that lack them {0}.',
789
789
  keybindingToConfigureQuickPick
790
790
  );
@@ -793,7 +793,7 @@ let AccessibleView = class AccessibleView extends Disposable {
793
793
  const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureAssignedKeybindings)?.getAriaLabel();
794
794
  const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Assigned Keybindings.';
795
795
  return localize(
796
- 4202,
796
+ 4230,
797
797
  '\nConfigure keybindings for commands that already have assignments {0}.',
798
798
  keybindingToConfigureQuickPick
799
799
  );
@@ -815,11 +815,11 @@ let AccessibleView = class AccessibleView extends Disposable {
815
815
  return screenReaderModeHint;
816
816
  }
817
817
  _exitDialogHint(provider) {
818
- return this._verbosityEnabled() && !provider.options.position ? ( localize(4203, '\nExit this dialog (Escape).')) : '';
818
+ return this._verbosityEnabled() && !provider.options.position ? ( localize(4231, '\nExit this dialog (Escape).')) : '';
819
819
  }
820
820
  _readMoreHint(provider) {
821
821
  return provider.options.readMoreUrl ? ( localize(
822
- 4204,
822
+ 4232,
823
823
  "\nOpen a browser window with more information related to accessibility{0}.",
824
824
  `<keybinding:${AccessibilityCommandId.AccessibilityHelpOpenHelpLink}>`
825
825
  )) : '';
@@ -881,11 +881,11 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
881
881
  const keybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibleView)?.getAriaLabel();
882
882
  let hint = null;
883
883
  if (keybinding) {
884
- hint = ( localize(4205, "Inspect this in the accessible view with {0}", keybinding));
884
+ hint = ( localize(4233, "Inspect this in the accessible view with {0}", keybinding));
885
885
  }
886
886
  else {
887
887
  hint = ( localize(
888
- 4206,
888
+ 4234,
889
889
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."
890
890
  ));
891
891
  }
@@ -927,8 +927,8 @@ let AccessibleViewSymbolQuickPick = class AccessibleViewSymbolQuickPick {
927
927
  show(provider) {
928
928
  const disposables = ( new DisposableStore());
929
929
  const quickPick = disposables.add(this._quickInputService.createQuickPick());
930
- quickPick.placeholder = ( localize(4207, "Type to search symbols"));
931
- quickPick.title = ( localize(4208, "Go to Symbol Accessible View"));
930
+ quickPick.placeholder = ( localize(4235, "Type to search symbols"));
931
+ quickPick.title = ( localize(4236, "Go to Symbol Accessible View"));
932
932
  const picks = [];
933
933
  const symbols = this._accessibleView.getSymbols();
934
934
  if (!symbols) {
@@ -1,6 +1,6 @@
1
1
  import { MarkdownString } from "@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent";
2
2
  import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
3
- import { IPickerQuickAccessItem } from "@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/platform/quickinput/browser/pickerQuickAccess";
3
+ import { IPickerQuickAccessItem } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/platform/quickinput/browser/pickerQuickAccess";
4
4
  export declare function resolveContentAndKeybindingItems(keybindingService: IKeybindingService, value?: string): {
5
5
  content: MarkdownString;
6
6
  configureKeybindingItems: IPickerQuickAccessItem[] | undefined;
@@ -5,8 +5,8 @@ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/in
5
5
  import { AccessibilitySignal } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService';
6
6
  import { IAccessibilitySignalService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service';
7
7
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
8
- import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
9
- import { autorunWithStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
8
+ import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
9
+ import { autorunWithStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
10
10
 
11
11
  let AccessibilitySignalLineDebuggerContribution = class AccessibilitySignalLineDebuggerContribution extends Disposable {
12
12
  constructor(debugService, accessibilitySignalService) {
@@ -16,11 +16,11 @@ class ShowSignalSoundHelp extends Action2 {
16
16
  constructor() {
17
17
  super({
18
18
  id: ShowSignalSoundHelp.ID,
19
- title: ( localize2(4221, "Help: List Signal Sounds")),
19
+ title: ( localize2(4249, "Help: List Signal Sounds")),
20
20
  f1: true,
21
21
  metadata: {
22
22
  description: ( localize(
23
- 4222,
23
+ 4250,
24
24
  "List all accessibility sounds, noises, or audio cues and configure their settings"
25
25
  ))
26
26
  }
@@ -38,7 +38,7 @@ class ShowSignalSoundHelp extends Action2 {
38
38
  signal,
39
39
  buttons: userGestureSignals.includes(signal) ? [{
40
40
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear),
41
- tooltip: ( localize(4223, 'Configure Sound')),
41
+ tooltip: ( localize(4251, 'Configure Sound')),
42
42
  alwaysVisible: true
43
43
  }] : []
44
44
  }))).sort((a, b) => a.label.localeCompare(b.label));
@@ -74,7 +74,7 @@ class ShowSignalSoundHelp extends Action2 {
74
74
  accessibilitySignalService.playSound(qp.activeItems[0].signal.sound.getSound(true), true, AcknowledgeDocCommentsToken);
75
75
  }));
76
76
  disposables.add(qp.onDidHide(() => disposables.dispose()));
77
- qp.placeholder = ( localize(4224, 'Select a sound to play and configure'));
77
+ qp.placeholder = ( localize(4252, 'Select a sound to play and configure'));
78
78
  qp.canSelectMany = true;
79
79
  await qp.show();
80
80
  }
@@ -87,11 +87,11 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
87
87
  constructor() {
88
88
  super({
89
89
  id: ShowAccessibilityAnnouncementHelp.ID,
90
- title: ( localize2(4225, "Help: List Signal Announcements")),
90
+ title: ( localize2(4253, "Help: List Signal Announcements")),
91
91
  f1: true,
92
92
  metadata: {
93
93
  description: ( localize(
94
- 4226,
94
+ 4254,
95
95
  "List all accessibility announcements, alerts, braille messages, and configure their settings"
96
96
  ))
97
97
  }
@@ -109,7 +109,7 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
109
109
  signal,
110
110
  buttons: userGestureSignals.includes(signal) ? [{
111
111
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear),
112
- tooltip: ( localize(4227, 'Configure Announcement')),
112
+ tooltip: ( localize(4255, 'Configure Announcement')),
113
113
  alwaysVisible: true,
114
114
  }] : []
115
115
  }))).sort((a, b) => a.label.localeCompare(b.label));
@@ -142,8 +142,8 @@ class ShowAccessibilityAnnouncementHelp extends Action2 {
142
142
  preferencesService.openUserSettings({ jsonEditor: true, revealSetting: { key: e.item.signal.settingsKey, edit: true } });
143
143
  }));
144
144
  disposables.add(qp.onDidHide(() => disposables.dispose()));
145
- qp.placeholder = screenReaderOptimized ? ( localize(4228, 'Select an announcement to configure')) : ( localize(
146
- 4229,
145
+ qp.placeholder = screenReaderOptimized ? ( localize(4256, 'Select an announcement to configure')) : ( localize(
146
+ 4257,
147
147
  'Screen reader is not active, announcements are disabled by default.'
148
148
  ));
149
149
  qp.canSelectMany = true;
@@ -14,9 +14,12 @@ import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/
14
14
  import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
15
15
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
16
16
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
17
- import { observableFromValueWithChangeEvent, observableFromEvent, wasEventTriggeredRecently, observableSignalFromEvent, observableFromPromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
18
- import { derived } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/derived';
19
- import { autorunWithStore, autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
17
+ import { wasEventTriggeredRecently, observableFromPromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils/utils';
18
+ import { derived } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/derived';
19
+ import { observableFromValueWithChangeEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils/valueWithChangeEvent';
20
+ import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
21
+ import { autorunWithStore, autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
22
+ import { observableSignalFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableSignalFromEvent';
20
23
 
21
24
  let EditorTextPropertySignalsContribution = class EditorTextPropertySignalsContribution extends Disposable {
22
25
  constructor(_editorService, _instantiationService, _accessibilitySignalService) {
@@ -36,7 +36,7 @@ let DiffEditorActiveAnnouncementContribution = class DiffEditorActiveAnnouncemen
36
36
  }
37
37
  this._onDidActiveEditorChangeListener = this._register(this._editorService.onDidActiveEditorChange(() => {
38
38
  if (isDiffEditor(this._editorService.activeTextEditorControl)) {
39
- this._accessibilityService.alert(( localize(4230, "Diff editor")));
39
+ this._accessibilityService.alert(( localize(4258, "Diff editor")));
40
40
  }
41
41
  }));
42
42
  }
@@ -17,10 +17,10 @@ class ToggleScreenReaderMode extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: 'editor.action.toggleScreenReaderAccessibilityMode',
20
- title: ( localize2(5123, "Toggle Screen Reader Accessibility Mode")),
20
+ title: ( localize2(5243, "Toggle Screen Reader Accessibility Mode")),
21
21
  metadata: {
22
22
  description: ( localize2(
23
- 5124,
23
+ 5244,
24
24
  "Toggles an optimized mode for usage with screen readers, braille devices, and other assistive technologies."
25
25
  )),
26
26
  },