Factor out files_editline.h, constify