Nondestructive editing