change a editor mode at changed compiler.