public void add(UndoEdit undo) { Assert.isTrue(!getRoot().hasChildren()); fUndoProcessor= new TextEditProcessor(getDocument(), undo, TextEdit.CREATE_UNDO | TextEdit.UPDATE_REGIONS);
public void add(TextEdit edit) throws MalformedTreeException { getRoot().addChild(edit);
	public void add(UndoEdit undo) {		Assert.isTrue(!getRoot().hasChildren());		fUndoProcessor= new TextEditProcessor(getDocument(), undo, TextEdit.CREATE_UNDO | TextEdit.UPDATE_REGIONS);	}