fix codemirror code highlighting and find