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