You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After introducing differ we need to clean-up events model and document fire.
Current change and changesDone events should be removed.
API to add postfixers should be added (see prototype here) and all change listeners which are post fixers should be changed to post-fixers.
New document.change event should be introduced, which should be fired after all changes related to the single batch are done. Changes which are executed on the separate batch (i.e. autoformatter) should listen on this event and do enqueueChange().
Listeners which really need to listen on each operation apply (live positions, differ) should now listen on applyOperation.
We should consider removing data object which is returned by the operation execute, or change it. It made sense when the change event was fired base on the operation applied, but now it might not be needed anymore.
model.change event should be private (model._change), is should be used only by the document to fire document.change.
The text was updated successfully, but these errors were encountered:
After introducing differ we need to clean-up events model and document fire.
change
andchangesDone
events should be removed.document.change
event should be introduced, which should be fired after all changes related to the single batch are done. Changes which are executed on the separate batch (i.e. autoformatter) should listen on this event and doenqueueChange()
.applyOperation
.model.change
event should be private (model._change
), is should be used only by the document to firedocument.change
.The text was updated successfully, but these errors were encountered: