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
This is following the implementation of undo merging.
When the mergeUndoDeltas option is set to true, if a user types a few characters at once then executes the undo() command, the UndoManager's dirtyCounter variable is only decremented once instead of being decremented by the number of merged undos. Note that this will probably happen for any merged undo commands.
This makes it difficult to check if a document is clean or, rendering the UndoManager's isClean() method useless.
The text was updated successfully, but these errors were encountered:
This is following the implementation of undo merging.
When the
mergeUndoDeltas
option is set totrue
, if a user types a few characters at once then executes theundo()
command, theUndoManager
'sdirtyCounter
variable is only decremented once instead of being decremented by the number of merged undos. Note that this will probably happen for any merged undo commands.This makes it difficult to check if a document is clean or, rendering the
UndoManager
'sisClean()
method useless.The text was updated successfully, but these errors were encountered: