CodeMirror tuning to have the height depended of code