Rewrite editor