beremiz

05502e574589
Parents 35a86f033a36
Children a8c258f7bdcf
Fix bug with cut/copy/paste on PythonEditor
--- 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)