augments Editor.prototype