Color[] colors = syntaxDocument.getColors();
Color[] colors = document.getColors();
	private void paintSyntaxLine(Segment line, int lineIndex, int x, int y,		Graphics g, SyntaxDocument syntaxDocument,		TokenMarker tokenMarker, Color def)	{		Color[] colors = syntaxDocument.getColors();		Token tokens = tokenMarker.markTokens(line,lineIndex);		int offset = 0;		for(;;)		{			byte id = tokens.id;			if(id == Token.END)				break;			int length = tokens.length;			Color color;			if(id == Token.NULL)				color = def;			else				color = colors[id];			g.setColor(color == null ? def : color);			line.count = length;			x = Utilities.drawTabbedText(line,x,y,g,this,offset);			line.offset += length;			offset += length;			tokens = tokens.next;		}	}