Does CodeMirror6 have the same function as TextMarker.changed


Because I will dynamicly insert dom into marker,I want to reset cursor position after insert,which implete as TextMarker.changed in CodeMirror5。What I should do in CodeMirror6?

I think just calling EditorView.requestMeasure should be enough.