##// END OF EJS Templates
band-aid for completion...
band-aid for completion 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.

File last commit:

r10201:06a54042
r15322:c07938f3
Show More
__init__.py
17 lines | 681 B | text/x-python | PythonLexer
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 # Copyright (C) 2013 The IPython Development Team
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
MinRK
bump minimum pyzmq version to 2.1.11...
r9336 # Verify zmq version dependency >= 2.1.11
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 from IPython.utils.zmqrelated import check_for_zmq
MinRK
warn on detection of libzmq 3
r4248
MinRK
move check_for_zmq to utils.zmqrelated
r10201 check_for_zmq('2.1.11', 'IPython.kernel.zmq')
MinRK
add basics to top-level IPython.zmq namespace
r7543
from .session import Session