protected boolean scrollRight(TextView widget,Spannable buffer,int amount){
  final int maxScrollX=getScrollBoundsRight(widget) - getInnerWidth(widget);
  int scrollX=widget.getScrollX();
  if (scrollX < maxScrollX) {
    scrollX=Math.min(scrollX + getCharacterWidth(widget) * amount,maxScrollX);
    widget.scrollTo(scrollX,widget.getScrollY());
    return true;
  }
  return false;
}

protected boolean scrollRight ( TextView widget , Spannable buffer , int amount ) { final int maxScrollX = getScrollBoundsRight ( widget ) - getInnerWidth ( widget ) ; int scrollX = widget . getScrollX ( ) ; if ( scrollX < maxScrollX ) { scrollX = Math . min ( scrollX + getCharacterWidth ( widget ) * amount , maxScrollX ) ; widget . scrollTo ( scrollX , widget . getScrollY ( ) ) ; return true ; } return false ; }
performs a scroll right action . scrolls right by the specified number of characters .
