import moo app = moo.App.instance() editor = app.get_editor()