@DirtyUI
  @Override
  public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) {
    return ReadAction.compute(() -> {
      if (orientation == SwingConstants.VERTICAL) {
        return editor.getLineHeight();
      }
      // if orientation == SwingConstants.HORIZONTAL
      return EditorUtil.getSpaceWidth(Font.PLAIN, editor);
    });
  }
@DirtyUI
  @Override
  public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)