pub fn create_editor( database: Rc<Database<'_>>, catalog: Rc<Catalog>, ) -> MyResult<CommandEditor<'_>>