if ((getStyle() & SWT.FULL_SELECTION) != 0 && lastLine > firstLine) {
if (fullLineRedraw) {
void redrawLines(int firstLine, int offsetInFirstLine, int lastLine, int endOffset, boolean clearBackground) {	String line = content.getLine(firstLine);	int lineCount = lastLine - firstLine + 1;	int redrawX = getXAtOffset(line, firstLine, offsetInFirstLine) - leftMargin;	int redrawStopX;	int redrawY = firstLine * lineHeight - verticalScrollOffset;	int firstLineOffset = content.getOffsetAtLine(firstLine);	// calculate redraw stop location	if ((getStyle() & SWT.FULL_SELECTION) != 0 && lastLine > firstLine) {		redrawStopX = getClientArea().width - leftMargin;	}	else {		redrawStopX = getXAtOffset(line, firstLine, endOffset - firstLineOffset) - leftMargin;	}	draw(redrawX, redrawY, redrawStopX - redrawX, lineHeight, clearBackground);	// redraw last line if more than one line needs redrawing 	if (lineCount > 1) {		int offsetInLastLine = endOffset - content.getOffsetAtLine(lastLine);			// no redraw necessary if redraw offset is 0		if (offsetInLastLine > 0) {			line = content.getLine(lastLine);			redrawStopX = getXAtOffset(line, lastLine, offsetInLastLine) - leftMargin;			redrawY = lastLine * lineHeight - verticalScrollOffset;			draw(0, redrawY, redrawStopX, lineHeight, clearBackground);		}	}}