move the editor functions to use workspace file

@devoncarew