mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
a1e263785c
Unlike @Carreau's attempt at using proper CodeMirror completion, this is just a band-aid to get the existing completion back to working for 2.0. This adds a keypress handler on the completer, which then calls insert with the charCode of the key press event, replacing the final `elif` branch of the keydown handler. This cannot be done with keydown, since keydown doesn't know what character is incoming, only the hardware key that is struck. |
||
---|---|---|
.. | ||
html | ||
nbconvert/exporters | ||
qt/console/tests | ||
testing | ||
utils/tests |