private static void registerActionHandler(@NotNull Editor editor, @NotNull String actionId) {
    ThreadingAssertions.assertEventDispatchThread();
    AnAction action = ActionManager.getInstance().getAction(actionId);
    action.registerCustomShortcutSet(action.getShortcutSet(), editor.getContentComponent());
  }
private static void registerActionHandler(@NotNull Editor editor, @NotNull String actionId)