@Override
  public void requestScrollingToEnd() {
    if (getEditor() == null) {
      return;
    }

    addFlushRequest(0, new FlushRunnable(true) {
      @Override
      public void doRun() {
        flushDeferredText();
        Editor editor = getEditor();
        if (editor != null && !myFlushAlarm.isDisposed()) {
          scrollToEnd(editor);
        }
      }
    });
  }
@Override
  public void requestScrollingToEnd()