In codemirror 5 you can use
linkedDoc to link two documents together so that changes to one document are reflected in the linked document automatically. You can also provide a start and end line to
linkedDoc which causes the linked document to only display the content between the provided lines.
Is there a way to achieve this behaviour in codemirror 6?
I am currently trying to extend the Split View example and starting each EditorView with a state generated with
view.doc.slice(...) but I’m unsure how to modify changesets so they can be applied to the partial views. Is this the method you would recommend or are there better ways to achieve this behaviour?