The stack for undo redo shall be maintained for every delimiter and pause in getting the keyboard buffer.
Is there a way to configure code mirror undo redo behavior.
The same can be configured using historyEventDelay option in code mirror