Lines Matching refs:replace
321 parent.replace(index, 1, added);
353 prevParent.replace(prevIndex, 1, prevAdded);
492 * @param replace true if the previous attributes should be replaced
495 public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace) {
519 changes.addEdit(new AttributeUndoableEdit(run, sCopy, replace));
520 if (replace) {
545 * @param replace whether to replace existing attributes, or merge them
548 boolean replace) {
565 changes.addEdit(new AttributeUndoableEdit(paragraph, sCopy, replace));
566 if (replace) {
905 paragraph.replace(0, 0, buff);
908 section.replace(0, 0, buff);
1734 ((BranchElement) ec.parent).replace(index, removed.length, added);
2102 ((BranchElement)to).replace(0, 0, c);
2130 ((BranchElement)e).replace(0, 0, children);
2156 ((BranchElement)e).replace(0, 0, children);
2323 ((BranchElement)parent).replace(0, 0, kids);
2350 ((BranchElement)newParent).replace(0, 0, newKids);