Programmable editor