while (y <= topIndexY && line > 0) {
while (y < topIndexY && line > 0) {
public int getLineIndex(int y) {	checkWidget();	//FIXME: range checking?	y -= topMargin;	if (isFixedLineHeight()) {		int lineHeight = renderer.getLineHeight();		int lineIndex = (y + getVerticalScrollOffset()) / lineHeight;		int lineCount = content.getLineCount();		if (lineIndex >= lineCount) {			lineIndex = lineCount - 1;		}		return lineIndex;	}	if (y == topIndexY) return topIndex;	int line = topIndex;	if (y < topIndexY) {		while (y <= topIndexY && line > 0) {			y += renderer.getLineHeight(--line);		}	} else {		int lineCount = content.getLineCount();		int lineHeight = renderer.getLineHeight(line);		while (y - lineHeight >= topIndexY && line < lineCount - 1) {			y -= lineHeight;			lineHeight = renderer.getLineHeight(++line);		}	}	return line;}