If there is a much cheaper flight into MAN, from what I remember there is a direct train service that is very comfortable and fast between Manchester airport and EDI.
Also, if you fly into LHR and can get to Euston Station there are trains that I think take less than 5 hours to get to city center Edinburg, and its a beautiful ride in again, a comfortable train.