blic @Nullable EditorComposite findEditorComposite(@NotNull FileEditor fileEditor) {
    VirtualFile virtualFile = fileEditor.getFile();
    if (virtualFile != null) {
      for (TabInfo tabInfo : getTabs()) {
        final Object data = tabInfo.getObject();
        if (data instanceof TabEditorData && virtualFile.equals(((TabEditorData)data).editorInfo.getFile())) {
          EditorComposite composite = ((TabEditorData)data).editorComposite;
          if (ContainerUtil.exists(composite.getAllEditors(), editor->editor.equals(fileEditor))) {
            return composite;
          }
        }
      }
    }
    return null;
  }


blic @Nullable EditorComposite findEditorComposite(@NotNull FileEditor fileEditor) {