Closed claviska closed 13 years ago
When calling setValue() the undo history gets cleared. A real-world example of when this would be undesirable is as follows:
This is one of the ways I'm using CodeMirror 2, which is why I've come across this issue. I think the following may be a feasible solution:
What are your thoughts on this, Marijn?
This was implemented in 1. Incidentally, you opened the bug on the wrong repository.
When calling setValue() the undo history gets cleared. A real-world example of when this would be undesirable is as follows:
This is one of the ways I'm using CodeMirror 2, which is why I've come across this issue. I think the following may be a feasible solution:
What are your thoughts on this, Marijn?