UK's 'longest serving editor' steps down after 40 years