@Override
  public @Nullable FileEditor getSelectedFileEditor() {
    LightEditFrameWrapper frameWrapper = this.frameWrapper;
    if (frameWrapper == null) return null;
    LightEditPanel panel = frameWrapper.getLightEditPanel();
    if (!Disposer.isDisposed(panel)) {
      return panel.getTabs().getSelectedFileEditor();
    }
    return null;
  }
@Override
  public @Nullable FileEditor getSelectedFileEditor()