2. Put the verbs in brackets into the correct form of the Past Perfect continuous.
1 Sophie• ... had been painting ...(paint) the walls all day before she finished them.
2 . . . . . . . . . . .. .. . . . . . .. .. . . . . . . . . . . . . . (you/wait) long when the boss announced that he couldn't see you?
3 Tom ......................................... (look) for a job for six months when he found one.
4 We …………………………. (watch) TV for half an hour when the doorbell rang.
5 They ................................... (sunbathe) for an hour when it started to rain.
6 Stan ....................................... (work) as a postman for forty years when he retired .
7 I ................ .......... ........ (live) in France for ten years when I met my husband.