##// END OF EJS Templates
Integrated new IPythonInputSplitter into IPythonWidget.
epatters -
Show More
@@ -2,6 +2,7 b''
2 from PyQt4 import QtCore, QtGui
2 from PyQt4 import QtCore, QtGui
3
3
4 # Local imports
4 # Local imports
5 from IPython.core.inputsplitter import IPythonInputSplitter
5 from IPython.core.usage import default_banner
6 from IPython.core.usage import default_banner
6 from frontend_widget import FrontendWidget
7 from frontend_widget import FrontendWidget
7
8
@@ -41,7 +42,10 b' class IPythonWidget(FrontendWidget):'
41 def __init__(self, *args, **kw):
42 def __init__(self, *args, **kw):
42 super(IPythonWidget, self).__init__(*args, **kw)
43 super(IPythonWidget, self).__init__(*args, **kw)
43
44
44 # Initialize protected variables.
45 # FrontendWidget protected variables.
46 self._input_splitter = IPythonInputSplitter(input_mode='replace')
47
48 # IPythonWidget protected variables.
45 self._previous_prompt_blocks = []
49 self._previous_prompt_blocks = []
46 self._prompt_count = 0
50 self._prompt_count = 0
47
51
General Comments 0
You need to be logged in to leave comments. Login now