public static @Nullable Editor findLeftEditor(JComponent component) {
    DiffSplitter splitter = UIUtil.findComponentOfType(component, DiffSplitter.class);
    JComponent editorPanel;
    if (splitter != null) {
      editorPanel = splitter.getFirstComponent();
    }
    else {
      editorPanel = UIUtil.findComponentOfType(component, UnifiedDiffPanel.class);
    }
    EditorComponentImpl comp = editorPanel == null ? null : UIUtil.findComponentOfType(editorPanel, EditorComponentImpl.class);
    return comp == null ? null : comp.getEditor();
  }
public static @Nullable Editor findLeftEditor(JComponent component)