William Edgar, City & Castle of Edinburgh, 1765