working with codemirror sucks all the energy