private static void doScrollVertically(@NotNull Editor editor, int offset, boolean animated) {
    doScrollVertically(editor, offset, animated, false, false);
  }
private static void doScrollVertically(@NotNull Editor editor, int offset, boolean animated)