performPaint(event.gc, startLine, startY, renderHeight, false);
performPaint(event.gc, startLine, startY, renderHeight);
void handlePaint(Event event) {	int startLine = Math.max(0, (event.y - topMargin + verticalScrollOffset) / lineHeight);	int paintYFromTopLine = (startLine - topIndex) * lineHeight;	int topLineOffset = topIndex * lineHeight - verticalScrollOffset;	int startY = paintYFromTopLine + topLineOffset;	// adjust y position for pixel based scrolling	int renderHeight = event.y + event.height - startY;	Rectangle clientArea = getClientArea();		// Check if there is work to do. clientArea.width should never be 0	// if we receive a paint event but we never want to try and create 	// an Image with 0 width.	if (clientArea.width == 0 || event.height == 0) {				return;	}	performPaint(event.gc, startLine, startY, renderHeight, false);	}	