editor passing addchar