protected int paintLine(TextAreaModel model, Graphics gfx, int x, int y)
protected int paintLine(Graphics gfx, int line, int x)
	protected int paintLine(TextAreaModel model, Graphics gfx, int x, int y)	{		TokenMarker tokenMarker = model.getTokenMarker();		Font defaultFont = getFont();		Color defaultColor = getForeground();						gfx.setFont(defaultFont);		if(currentLineIndex < 0 || currentLineIndex >= model.getLineCount())		{			paintHighlight(model,gfx,y);			gfx.setColor(defaultColor);			gfx.drawString("~",0,y);			return 1;		}		// Get the text		model.getLineText(currentLineIndex,currentLine);		if(tokenMarker == null)		{			paintPlainLine(model,gfx,defaultFont,defaultColor,x,y);			return 1;		}		else		{			int count = 0;			int lastVisibleLine = textArea.getFirstLine()				+ textArea.getVisibleLines();			do			{				if(count != 0)				{					currentLineIndex++;					model.getLineText(currentLineIndex,currentLine);				}				currentLineTokens = tokenMarker.markTokens(						currentLine,currentLineIndex);				if(currentLineIndex <= lastVisibleLine)				{					paintSyntaxLine(model,gfx,defaultFont,						defaultColor,x,y);					y += model.getLineHeight();				}				count++;			}			while(tokenMarker.isNextLineRequested());			return count;		}	}