private static @Nullable Editor getEditor(@Nullable DataContext context) {
    return CommonDataKeys.EDITOR.getData(context);
  }
private static @Nullable Editor getEditor(@Nullable DataContext context)