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