Editor on multiple columns

I wonder if there is a way to make a CodeMirror editor with multiple columns, just like CSS columns does. My goal is to be able to display a long document on landscape viewports.

Any idea / tips are very welcome!

Just setting the editor CSS to create columns will definitely not work. The editor expects a lines to appear below each other, in order. You might be able to build something out of multiple editors by having your own code split and divide the content, but getting things like the undo history and cursor motion to work smoothly like that would probably be a lot of work.

Thank you for your quick reply @marijn. Unfortunately, it seems a bit complicated indeed.