ed like text editing for OTBEdit