moveCaretPosition(caret);
moveCaretPosition(newCaret);
	public void goToPrevBracket(boolean select)	{		String text = getText(0,caret);		int newCaret = -1;loop:		for(int i = getCaretPosition() - 1; i >= 0; i--)		{			switch(text.charAt(i))			{			case '(': case '[': case '{':				newCaret = i;				break loop;			}		}		if(newCaret == -1)			getToolkit().beep();		else		{			if(select)				extendSelection(caret,newCaret);			else if(!multi)				selectNone();			moveCaretPosition(caret);		}	}