Export and import CodeMirror line classes, line widgets and markers