replace mode support in editors (toggled by INS)