added getActiveEditor function to AppAPI.Editor scope