Entry
Tthe ^-key kills build 132 immediately, when using the German keyboard layout. How can we stop that?
Jul 17th, 2000 15:16
unknown unknown, Neil Hodgson
This is a known problem. It occurs inside the line
key = win32ui.TranslateVirtualKey(key)
found in fire_key_event in Pythonwin\pywin\scintilla\bindings.py.
Mark is aware of the problem in the win32ui code, but you might want to
try this short workaround while waiting for a fixed PythonWin. Just
before the "if event is None:" line inside fire_key_event insert this
code.
if key == 220:
return 1
This avoids calling win32ui.TranslateVirtualKey for the "^" key. More
tests may be needed for other accent characters or other locales.