Move selection methods to Editor model.