use last version of codemirror + fix bug with onchange templates hint.