Use atom.workspace.getActiveEditor()
Prepare 0.39.0 release