Fix bug with cut/copy/paste on PythonEditor
authorlaurent
Wed, 30 May 2012 12:20:54 +0200
changeset 753 05502e574589
parent 752 35a86f033a36
child 754 a8c258f7bdcf
Fix bug with cut/copy/paste on PythonEditor
py_ext/PythonEditor.py
--- a/py_ext/PythonEditor.py	Wed May 23 16:32:33 2012 +0200
+++ b/py_ext/PythonEditor.py	Wed May 30 12:20:54 2012 +0200
@@ -62,7 +62,8 @@
         self.ConfNodeEditor = stc.StyledTextCtrl(id=ID_PYTHONEDITOR, parent=prnt,
                  name="TextViewer", pos=wx.DefaultPosition, 
                  size=wx.DefaultSize, style=0)
-
+        self.ConfNodeEditor.ParentWindow = self
+        
         self.ConfNodeEditor.CmdKeyAssign(ord('B'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMIN)
         self.ConfNodeEditor.CmdKeyAssign(ord('N'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMOUT)