I used CM5 to operate the scroll bar in a certain position, and the scrolling is not coordinated and natural. I would like to ask what is the cause of this and what is the solution. Also when will CM6 support version comparison like CM5
It won’t. Just keep an instance of the document for the version you’re interested in, and use
.state.doc.eq(baseDoc) to figure out if the current document is the same.