Open edemaine opened 5 years ago
This mixes a bug in CodeMirror where, after the initial text loads and replaced 'loading...', pressing ctrl-Z undoes that change and goes back to the 'loading...' text. This bug was mentioned in:
The solution was to set the undo stack to size 0 before making the (first) change, then restoring the undo stack size.
This mixes a bug in CodeMirror where, after the initial text loads and replaced 'loading...', pressing ctrl-Z undoes that change and goes back to the 'loading...' text. This bug was mentioned in:
The solution was to set the undo stack to size 0 before making the (first) change, then restoring the undo stack size.