if (clientArea.width == 0 || renderHeight == 0) {
if (clientArea.width == 0) {
void performPaint(GC gc,int startLine,int startY, int renderHeight)	{	int lineCount = content.getLineCount();	int paintY = topMargin;		Rectangle clientArea = getClientArea();	Color background = getBackground();	Color foreground = getForeground();	Font font = gc.getFont();	FontData fontData = font.getFontData()[0];		// Check if there is work to do. We never want to try and create 	// an Image with 0 width or 0 height.	if (clientArea.width == 0 || renderHeight == 0) {				return;	}	if (isSingleLine()) {		lineCount = 1;		if (startLine > 1) {			startLine = 1;		}	}	Image lineBuffer = new Image(getDisplay(), clientArea.width, renderHeight);	GC lineGC = new GC(lineBuffer);		lineGC.setFont(font);	lineGC.setForeground(foreground);	lineGC.setBackground(background);	for (int i = startLine; paintY < renderHeight && i < lineCount; i++, paintY += lineHeight) {		String line = content.getLine(i);		renderer.drawLine(line, i, paintY, lineGC, background, foreground, fontData, true);	}	if (paintY < renderHeight) {		lineGC.setBackground(background);		lineGC.setForeground(background);		lineGC.fillRectangle(0, paintY, clientArea.width, renderHeight - paintY);	}	gc.drawImage(lineBuffer, 0, startY);	lineGC.dispose();	lineBuffer.dispose();	clearMargin(gc, background, clientArea, renderHeight);}