@lvce-editor/main-area-worker 9.32.2 → 9.32.4

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.
@@ -1959,9 +1959,9 @@ const notifyActiveEditorChange = async (oldState, newState) => {
1959
1959
  return;
1960
1960
  }
1961
1961
  try {
1962
- await invoke('Problems.handleActiveEditorChange', newUri);
1962
+ await invoke('Layout.handleActiveEditorChange', newUri);
1963
1963
  } catch (error) {
1964
- console.warn('Failed to notify Problems view about active editor change', error);
1964
+ console.warn('Failed to notify viewlets about active editor change', error);
1965
1965
  }
1966
1966
  };
1967
1967
 
@@ -4515,6 +4515,7 @@ const MaskIconCircleFilled = 'MaskIcon MaskIconCircleFilled';
4515
4515
  const MaskIconClose = 'MaskIcon MaskIconClose';
4516
4516
  const MaskIconExtensions = 'MaskIcon MaskIconExtensions';
4517
4517
  const MaskIconRecordKey = 'MaskIcon MaskIconRecordKey';
4518
+ const MaskIconSearch = 'MaskIcon MaskIconSearch';
4518
4519
  const TextEditor = 'TextEditor';
4519
4520
  const TextEditorLoading = 'TextEditor TextEditor--loading';
4520
4521
  const EditorContentLoading = 'EditorContent EditorContent--loading';
@@ -6389,6 +6390,7 @@ const renderTabActions = (isDirty, tabIndex, groupIndex) => {
6389
6390
  const ExtensionDetailScheme = 'extension-detail://';
6390
6391
  const KeyBindingsUri = 'app://keybindings';
6391
6392
  const RunningExtensionsScheme = 'running-extensions://';
6393
+ const SearchEditorScheme = 'search-editor://';
6392
6394
  const renderMaskIcon = className => {
6393
6395
  return [{
6394
6396
  childCount: 1,
@@ -6411,6 +6413,9 @@ const renderTabIcon = tab => {
6411
6413
  if (tab.uri?.startsWith(RunningExtensionsScheme)) {
6412
6414
  return renderMaskIcon(MaskIconExtensions);
6413
6415
  }
6416
+ if (tab.uri?.startsWith(SearchEditorScheme)) {
6417
+ return renderMaskIcon(MaskIconSearch);
6418
+ }
6414
6419
  return [{
6415
6420
  childCount: 0,
6416
6421
  className: TabIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.32.2",
3
+ "version": "9.32.4",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",