else caret = getLineStartOffset(line);
return; }  caret = getLineStartOffset(line);
	public void goToNextCharacter(boolean select)	{		if(!select && selectionStart != selectionEnd)		{			setCaretPosition(selectionEnd);			return;		}		int caret = getCaretPosition();		int line = getCaretLine();		if(caret == buffer.getLength())			getToolkit().beep();		if(caret == getLineEndOffset(line) - 1)		{			line = buffer.getNextVisibleLine(line);			if(line == -1)				getToolkit().beep();			else				caret = getLineStartOffset(line);		}		else			caret++;		if(select)			select(getMarkPosition(),caret);		else			setCaretPosition(caret);	}