[PyCrust] enabling shift+insert, control+insert, shift+delete keys in pycrust
Brought to you by:
pobrien
|
From: Syver E. <syv...@on...> - 2002-01-13 13:28:27
|
PyCrust disables as is disables some of the standard bindings for
copying, deleting and inserting text.
The following code fixes the problem:
From shell.Shell method OnKeyDown
# Don't toggle between insert mode and overwrite mode.
elif key == WXK_INSERT and not (event.ShiftDown() or event.ControlDown()):
pass
The only added code is :
and not (event.ShiftDown() or event.ControlDown())
--
Vennlig hilsen
Syver Enstad
|