Do you lose the +2 edit rep if the edited post is subsequently deleted?
It seems a little unfair if this is true, but reputation can evaporate in this way in similar circumstances.
I edited Benny's (now-deleted) answer, and I immediately got 2 points for the edit, after it was approved. Benny deleted his answer, and although I retained the points in my total rep, they were dropped from my reputation report, and would thus disappear when I recalculated my reputation.
In that respect, the behavior is exactly the same as that seen when you get points for an post, then delete that post. The points stick around until your reputation is recalculated.
EDIT: I did a recalc, and as expected, the +2 I got for editing Benny's answer disappeared.
I would expect it to be just like rep from upvotes on that post -- you lose it if your rep is recalculated