move the editor functions to use workspace file
Merge pull request #68 from dart-lang/editor

move the editor functions to use workspace file