else if(caret == firstLine)
else if(caret == firstOfLine)
		public void actionPerformed(ActionEvent evt)		{			JEditTextArea textArea = getTextArea(evt);			int caret = textArea.getCaretPosition();			int firstLine = textArea.getLineStartOffset(				textArea.getCaretLine());			int firstVisible = textArea.getLineStartOffset(				textArea.getFirstLine()				+ textArea.getElectricScroll());			if(caret == 0)			{				textArea.getToolkit().beep();				return;			}			else if(caret == firstVisible)				caret = 0;			else if(caret == firstLine)				caret = firstVisible;			else				caret = firstLine;			if(select)				textArea.select(textArea.getMarkPosition(),caret);			else				textArea.setCaretPosition(caret);		}