Make sure options.direction and doc.direction stay in sync
Make sure options.direction and doc.direction stay in sync

Closes #6667

wingify/CodeMirror,nightwing/CodeMirror,pabloferz/CodeMirror,nightwing/CodeMirror,wingify/CodeMirror,pabloferz/CodeMirror,hackmdio/CodeMirror,dperetti/CodeMirror,dperetti/CodeMirror,dperetti/CodeMirror,hackmdio/CodeMirror,nightwing/CodeMirror,pabloferz/CodeMirror,hackmdio/CodeMirror,wingify/CodeMirror