Move space utility to editutil