visualLineIndex = wrapLineRange(startLine, endLine, visualLineIndex, parent.getClientArea().width);
visualLineIndex = wrapLineRange(startLine, endLine, visualLineIndex, renderer.getClientArea().width);
private int wrapLineRange(int startLine, int endLine, int visualLineIndex) {	int emptyLineCount = 0;			visualLineIndex = wrapLineRange(startLine, endLine, visualLineIndex, parent.getClientArea().width);	// is there space left for more visual lines? can happen if there are fewer	// visual lines for a given logical line than before	for (int i = visualLineIndex; i < visualLines.length; i++, emptyLineCount++) {	    if (visualLines[i][LINE_OFFSET] != -1) {	        break;	    }	}	if (emptyLineCount > 0) {		int copyLineCount = visualLineCount - visualLineIndex;		System.arraycopy(visualLines, visualLineIndex + emptyLineCount, visualLines, visualLineIndex, copyLineCount);		resetVisualLines(visualLineIndex + copyLineCount, emptyLineCount);	}	return visualLineIndex;}