I am trying to look for the changObj in CM6 as I would like to know the from and to position of the change.
I am using EditorView.updateListener(), but I can’t seem to find it in the ViewUpdate object.
Do you know how I can get such information?
I am trying to look for the changObj in CM6 as I would like to know the from and to position of the change.
I am using EditorView.updateListener(), but I can’t seem to find it in the ViewUpdate object.
Do you know how I can get such information?
That screenshot is from the version 5.x docs. For the 6.x interface, you’ll want to read these docs.
I know, it’s just that I am not able to find the equivalent in CM6 docs. is there something to changeObj in CM6?
I would like to be able to find the ‘from’ and ‘to’ position of the changes made to the editor content. I am currently using updateListener and it seems that the ViewUpdate object does not contain that information?