int newHorizontalOffset = Math.max(0, lineCache.getWidth() - getClientArea().width);
int newHorizontalOffset = Math.max(0, lineCache.getWidth() - (getClientArea().width - leftMargin - rightMargin));
void claimRightFreeSpace() {	int newHorizontalOffset = Math.max(0, lineCache.getWidth() - getClientArea().width);		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);						}}