tabSize = fm.charWidth('w') * ((Integer)model.getDocument() .getProperty(PlainDocument.tabSizeAttribute)) .intValue();
if(tabSize == 0) { tabSize = fm.charWidth('w') * ((Integer)textArea .getDocument().getProperty( PlainDocument.tabSizeAttribute)).intValue(); }
	protected int offscreenRepaintLineRange(int firstLine, int lastLine)	{		if(offGfx == null)			return 0;		TextAreaModel model = textArea.getModel();		FontMetrics fm = getFontMetrics();		tabSize = fm.charWidth('w') * ((Integer)model.getDocument()			.getProperty(PlainDocument.tabSizeAttribute))			.intValue();		int x = textArea.getHorizontalOffset();		int y = model.lineToY(firstLine);		currentLineIndex = firstLine;		for(;;)		{			paintLine(model,offGfx,x,y);			y += model.getLineHeight();			if(currentLineIndex == lastLine)				break;			else				currentLineIndex++;		}		return currentLineIndex - firstLine;	}