Lines Matching defs:anEdit
118 * accepts <code>anEdit</code> and returns true.
121 * is given a chance to <code>addEdit(anEdit)</code>.
122 * If it refuses (returns false), <code>anEdit</code> is
124 * If <code>anEdit</code> returns false here,
127 * @param anEdit the edit to be added
131 public boolean addEdit(UndoableEdit anEdit) {
143 edits.addElement(anEdit);
145 else if (!last.addEdit(anEdit)) {
146 if (anEdit.replaceEdit(last)) {
149 edits.addElement(anEdit);