state.inner = CodeMirror.startState(other.mode, mode.indent ? mode.indent(state.outer, "") : 0);