equal
deleted
inserted
replaced
51 # CFileEditor Main Frame Class |
51 # CFileEditor Main Frame Class |
52 #------------------------------------------------------------------------------- |
52 #------------------------------------------------------------------------------- |
53 |
53 |
54 class PythonEditor(CodeFileEditor): |
54 class PythonEditor(CodeFileEditor): |
55 |
55 |
56 CONFNODEEDITOR_TABS = CodeFileEditor.CONFNODEEDITOR_TABS + [ |
56 CONFNODEEDITOR_TABS = [ |
57 (_("Python code"), "_create_PythonCodeEditor")] |
57 (_("Python code"), "_create_CodePanel")] |
58 |
58 CODE_EDITOR = PythonCodeEditor |
59 def _create_PythonCodeEditor(self, prnt): |
|
60 self.PythonCodeEditor = PythonCodeEditor(prnt, self.ParentWindow, self.Controler) |
|
61 |
|
62 return self.PythonCodeEditor |
|
63 |
59 |
64 def RefreshView(self): |
|
65 CodeFileEditor.RefreshView(self) |
|
66 |
|
67 self.PythonCodeEditor.RefreshView() |
|
68 |
|
69 def Find(self, direction, search_params): |
|
70 self.PythonCodeEditor.Find(direction, search_params) |
|