codemirror tweak