Make all edits go into newEdits first to provide predictable ordering.