int dot = view.getTextArea().getSelectionStart();
int dot = view.getTextArea().getCaretPosition(); if(dot != 0) dot--;
	public void exec(Buffer buffer, View view, String arg, Hashtable args)	{		String openBrackets = (String)buffer			.getProperty("openBrackets");		if(openBrackets == null)			openBrackets = "<([{";		String closeBrackets = (String)buffer			.getProperty("closeBrackets");		if(closeBrackets == null)			closeBrackets = ">)]}";		int dot = view.getTextArea().getSelectionStart();		char bracket;		try		{			bracket = buffer.getText(dot,1).charAt(0);			int index = openBrackets.indexOf(bracket);			if(index != -1)			{				char closeBracket = closeBrackets.charAt(index);				scanForward(buffer,view,dot,bracket,					closeBracket);			}			else			{				index = closeBrackets.indexOf(bracket);				if(index == -1)				{					view.getToolkit().beep();					return;				}				char openBracket = openBrackets.charAt(index);				scanBackward(buffer,view,dot,openBracket,					bracket);			}		}		catch(BadLocationException bl)		{			view.getToolkit().beep();			return;		}	}