edit.addAddedElement(newEl1); edit.addRemovedElement(child);
edit.added.add(newChild);
    private void createFracture(ElementSpec[] data)        {          BranchElement paragraph = (BranchElement) elementStack.peek();          int index = paragraph.getElementIndex(offset);      Element child = paragraph.getElement(index);      Edit edit = getEditForParagraphAndIndex(paragraph, index);      AttributeSet atts = child.getAttributes();            if (offset != 0)            {          Element newEl1 = createLeafElement(paragraph, atts,                                             child.getStartOffset(), offset);          edit.addAddedElement(newEl1);          edit.addRemovedElement(child);        }    }