setHorizontalScrollBar();
if (isFixedLineHeight()) { setHorizontalScrollBar(); } else { setScrollBars(); }
void calculateTopIndex() {	int oldTopIndex = topIndex;		Rectangle clientArea = getClientArea();	topIndex = getLineIndex(clientArea.y);	int linePixel = getLinePixel(topIndex);	if (linePixel < 0) {		int lineCount = content.getLineCount();		if (topIndex < lineCount - 1) {			int bottom = getLinePixel(topIndex + 1);			bottom = lineCache.getLineHeight(topIndex + 1);			if (clientArea.height > bottom) {				topIndex++;			}		}	} //	int verticalIncrement = getVerticalIncrement();//	if (verticalIncrement == 0) {//		return;//	}//	topIndex = Compatibility.ceil(verticalScrollOffset, verticalIncrement);//	// Set top index to partially visible top line if no line is fully //	// visible but at least some of the widget client area is visible.//	// Fixes bug 15088.//	if (topIndex > 0) {//		int clientAreaHeight = getClientArea().height;//		if (clientAreaHeight > 0) {//			int bottomPixel = verticalScrollOffset + clientAreaHeight;//			int fullLineTopPixel = topIndex * verticalIncrement;//			int fullLineVisibleHeight = bottomPixel - fullLineTopPixel;//			// set top index to partially visible line if no line fully fits in //			// client area or if space is available but not used (the latter should//			// never happen because we use claimBottomFreeSpace)//			if (fullLineVisibleHeight < verticalIncrement) {//				topIndex--;//			}//		} else if (topIndex >= content.getLineCount()) {//			topIndex = content.getLineCount() - 1;//		}//	}		if (topIndex != oldTopIndex) {		topOffset = content.getOffsetAtLine(topIndex);		lineCache.calculateClientArea();		setHorizontalScrollBar();	}}