private static void trimBegin(TemplateBuffer templateBuffer) throws CoreException {
private static void trimBegin(TemplateBuffer templateBuffer) throws BadLocationException {
	private static void trimBegin(TemplateBuffer templateBuffer) throws CoreException {		String string= templateBuffer.getString();		TemplateVariable[] variables= templateBuffer.getVariables();		List positions= variablesToPositions(variables);		int i= 0;		while ((i != string.length()) && Character.isWhitespace(string.charAt(i)))			i++;		string= edit(string, positions, new DeleteEdit(0, i));		positionsToVariables(positions, variables);		templateBuffer.setContent(string, variables);	}