public static void disableForEditor(@NotNull Editor editor) {
    editor.putUserData(DISABLED, Boolean.TRUE);
    TooltipController.getInstance().cancelTooltip(FOLDING_TOOLTIP_GROUP, null, true);
  }
public static void disableForEditor(@NotNull Editor editor)