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.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
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.