##// END OF EJS Templates
tweak history prefix search (up/^p) in qtconsole...
tweak history prefix search (up/^p) in qtconsole moving the cursor around the line could result in weird inconsistencies in the prefix. This simplifies the logic by always using the cursor position to set the history prefix, and better determine when the history prefix has actually changed.

File last commit:

r9120:beaf07d3
r9205:ef8c14cd
Show More
inprocess_kernelmanager.py
33 lines | 1.1 KiB | text/x-python | PythonLexer
/ IPython / frontend / qt / inprocess_kernelmanager.py
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ Defines an in-process KernelManager with signals and slots.
"""
# Local imports.
from IPython.inprocess.kernelmanager import \
Brian Granger
Cleanup naming and organization of channels....
r9120 InProcessShellChannel, InProcessIOPubChannel, InProcessStdInChannel, \
InProcessHBChannel, InProcessKernelManager
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 from IPython.utils.traitlets import Type
Brian Granger
Cleanup naming and organization of channels....
r9120 from base_kernelmanager import QtShellChannelMixin, QtIOPubChannelMixin, \
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessShellChannel(QtShellChannelMixin, InProcessShellChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessIOPubChannel(QtIOPubChannelMixin, InProcessIOPubChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessStdInChannel(QtStdInChannelMixin, InProcessStdInChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessHBChannel(QtHBChannelMixin, InProcessHBChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
""" An in-process KernelManager with signals and slots.
"""
Brian Granger
Cleanup naming and organization of channels....
r9120 iopub_channel_class = Type(QtInProcessIOPubChannel)
shell_channel_class = Type(QtInProcessShellChannel)
stdin_channel_class = Type(QtInProcessStdInChannel)
hb_channel_class = Type(QtInProcessHBChannel)