docs: public void scrollLineToVisible(int line, int margin) {
          int maxMargin = (parentHeight() - 20) / 2;
          if (margin > maxMargin) {
              margin = Math.max(0, maxMargin);
          }
          scrollLineToVisibleImpl(line, margin);
      }