Show More
@@ -186,7 +186,7 b' class LineFrontEndBase(FrontEndBase):' | |||||
186 | #-------------------------------------------------------------------------- |
|
186 | #-------------------------------------------------------------------------- | |
187 |
|
187 | |||
188 | def prefilter_input(self, string): |
|
188 | def prefilter_input(self, string): | |
189 |
""" Pri |
|
189 | """ Prefilter the input to turn it in valid python. | |
190 | """ |
|
190 | """ | |
191 | string = string.replace('\r\n', '\n') |
|
191 | string = string.replace('\r\n', '\n') | |
192 | string = string.replace('\t', 4*' ') |
|
192 | string = string.replace('\t', 4*' ') |
@@ -124,7 +124,7 b' class ConsoleWidget(editwindow.EditWindow):' | |||||
124 | #-------------------------------------------------------------------------- |
|
124 | #-------------------------------------------------------------------------- | |
125 |
|
125 | |||
126 | def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, |
|
126 | def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, | |
127 |
size=wx.DefaultSize, style= |
|
127 | size=wx.DefaultSize, style=wx.WANTS_CHARS, ): | |
128 | editwindow.EditWindow.__init__(self, parent, id, pos, size, style) |
|
128 | editwindow.EditWindow.__init__(self, parent, id, pos, size, style) | |
129 | self._configure_scintilla() |
|
129 | self._configure_scintilla() | |
130 |
|
130 |
@@ -136,7 +136,8 b' class WxController(ConsoleWidget, PrefilterFrontEnd):' | |||||
136 | #-------------------------------------------------------------------------- |
|
136 | #-------------------------------------------------------------------------- | |
137 |
|
137 | |||
138 | def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, |
|
138 | def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, | |
139 |
size=wx.DefaultSize, |
|
139 | size=wx.DefaultSize, | |
|
140 | style=wx.CLIP_CHILDREN|wx.WANTS_CHARS, | |||
140 | *args, **kwds): |
|
141 | *args, **kwds): | |
141 | """ Create Shell instance. |
|
142 | """ Create Shell instance. | |
142 | """ |
|
143 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now