@Contract("null -> null")
  static @Nullable Editor findEditor(@Nullable AnActionEvent event) {
    return event == null ? null : event.getData(CommonDataKeys.EDITOR_EVEN_IF_INACTIVE);
  }
@Contract("null -> null")
  static @Nullable Editor findEditor(@Nullable AnActionEvent event)