int x = model.offsetToX(line,offset);
int x = offsetToX(line,offset);
	public boolean scrollTo(int line, int offset)	{		if(visibleLines == 0)		{			setFirstLine(line);			return true;		}		boolean returnValue = false;		if(line > electricScroll && line - electricScroll < firstLine)		{			setFirstLine(Math.max(0,line - electricScroll));			returnValue = true;		}		else if(line + electricScroll > firstLine + visibleLines)		{			int newline = (line - visibleLines) + electricScroll + 1;			if(newline < 0)				newline = 0;			int lines = model.getLineCount();			if(newline + visibleLines >= lines)				newline = lines - visibleLines;			setFirstLine(newline);			returnValue = true;		}		int x = model.offsetToX(line,offset);		int width = painter.getFontMetrics().charWidth('w');		if(x < 0)		{			setHorizontalOffset(-(x + horizontalOffset));			returnValue = true;		}		else if(x + width > painter.getSize().width)		{			setHorizontalOffset((painter.getSize().width - x)				+ horizontalOffset);			returnValue = true;		}		return returnValue;	}