scrollHorizontalBar(newHorizontalOffset - horizontalScrollOffset);
scrollHorizontal(newHorizontalOffset - horizontalScrollOffset, true);
void claimRightFreeSpace() {	int newHorizontalOffset = Math.max(0, lineCache.getWidth() - (getClientArea().width - leftMargin - rightMargin));	if (newHorizontalOffset < horizontalScrollOffset) {					// item is no longer drawn past the right border of the client area		// align the right end of the item with the right border of the 		// client area (window is scrolled right).		scrollHorizontalBar(newHorizontalOffset - horizontalScrollOffset);						}}