Brought editor command and resume function back together.