1) When she was writing?
2) She was writing when they came?
3) They came when she was writing?
4) When they came?