upgraded to codemirror 3.18