sncodemirror replace