if (x - clientAreaWidth != 0) { scrollHorizontalBar(x - clientAreaWidth); scrolled = true; }
scrolled = scrollHorizontalBar(x - clientAreaWidth);
boolean showLocation(int x, int line) {	int clientAreaWidth = getClientArea().width - leftMargin - rightMargin;	int verticalIncrement = getVerticalIncrement();	int horizontalIncrement = clientAreaWidth / 4;	boolean scrolled = false;				if (x < leftMargin) {		// always make 1/4 of a page visible		x = Math.max(horizontalScrollOffset * -1, x - horizontalIncrement);			if (x != 0) {			scrollHorizontalBar(x);			scrolled = true;		}	}	else 	if (x >= clientAreaWidth) {		// always make 1/4 of a page visible		x = Math.min(lineCache.getWidth() - horizontalScrollOffset, x + horizontalIncrement);		if (x - clientAreaWidth != 0) {			scrollHorizontalBar(x - clientAreaWidth);			scrolled = true;		}	}	if (line < topIndex) {		setVerticalScrollOffset(line * verticalIncrement, true);		scrolled = true;	}	else	if (line > getBottomIndex()) {		setVerticalScrollOffset((line + 1) * verticalIncrement - getClientArea().height, true);		scrolled = true;	}	return scrolled;}