If I'm versioning, track what the old edit command would have been like. You can store it in an edit event with a push or pop.