codemirror integration

pushing select things from codemirror 3.18