[pywin32-bugs] [ pywin32-Patches-3048829 ] finally supports non-US keyboards (CallTips etc)
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2010-08-27 06:10:33
|
Patches item #3048829, was opened at 2010-08-20 04:02 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3048829&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: kxroberto (kxroberto) >Assigned to: Mark Hammond (mhammond) Summary: finally supports non-US keyboards (CallTips etc) Initial Comment: comfort for the whole world .. patch for keycodes.py in pywin/scintilla ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-08-27 16:10 Message: Thanks for the patch. However, I think it was still incomplete in a few areas and I finally dug into this a little more (there is an over 5 year old bug open on this issue and I've attempted a fix more than once.) I'm attaching a patch that uses MapVirtualKey and VkKeyScan, and removes that horrible offset table and I think it works. Using a french keyboard layout I see the calltips and the ',' character working as expected. If you can, please have a go and see if it works OK for you. Note that it requires a new win32api to work, so if you don't build from sources, please send me your python version and email addy and I'll send you a newer version. Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3048829&group_id=78018 |