ipython/ipython — Issue #1235: After upgrading CodeMirror check the status of some bugs
Author: ellisonbg
Created: 2012-01-05 18:36:52+00:00
State: open
Labels: htmlnotebook, prio-medium, status-active, type-bug

There are two related CodeMirror bugs that may be fixed in the latest version:

* focus, then setValue causes the arrow keys to lock up. If that bug is not fixed, we need to possibly move to passing the input to the CodeCell constructor to avoid setting the initial cell contents using setValue. I think this is likely fixed.
* In TextCell, we are writing \u0000 to the CodeMirror editor if it would otherwise be empty. This is to fix a bug in CodeMirror. I think this is probably the same bug as the above focus/setValue one so hopefully it is fixed. If so remove \u0000 from placeholders after the relevant CM bug is fixed.