diff -r c37f8d379ab0 -r cf2a6a7c87e8 py_ext/PythonEditor.py --- a/py_ext/PythonEditor.py Tue May 14 18:43:52 2013 +0200 +++ b/py_ext/PythonEditor.py Tue May 14 20:16:07 2013 +0200 @@ -53,18 +53,7 @@ class PythonEditor(CodeFileEditor): - CONFNODEEDITOR_TABS = CodeFileEditor.CONFNODEEDITOR_TABS + [ - (_("Python code"), "_create_PythonCodeEditor")] - - def _create_PythonCodeEditor(self, prnt): - self.PythonCodeEditor = PythonCodeEditor(prnt, self.ParentWindow, self.Controler) - - return self.PythonCodeEditor + CONFNODEEDITOR_TABS = [ + (_("Python code"), "_create_CodePanel")] + CODE_EDITOR = PythonCodeEditor - def RefreshView(self): - CodeFileEditor.RefreshView(self) - - self.PythonCodeEditor.RefreshView() - - def Find(self, direction, search_params): - self.PythonCodeEditor.Find(direction, search_params)