# HG changeset patch # User laurent # Date 1338373254 -7200 # Node ID 05502e5745898913f1bfcee75f9dfd1485746499 # Parent 35a86f033a364f42a3df6873cefd0c44a7a01698 Fix bug with cut/copy/paste on PythonEditor diff -r 35a86f033a36 -r 05502e574589 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)