mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
further work on new configuration system, specifically,
on keybinding configuration
This commit is contained in:
parent
20ffa0e5bc
commit
17d0154097
3 changed files with 108 additions and 64 deletions
|
@ -14,7 +14,8 @@
|
|||
|
||||
import sys
|
||||
import string
|
||||
from keydefs import *
|
||||
#from keydefs import *
|
||||
from configHandler import idleConf
|
||||
|
||||
menudefs = [
|
||||
# underscore prefixes character to underscore
|
||||
|
@ -65,9 +66,11 @@ menudefs = [
|
|||
]),
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
default_keydefs = windows_keydefs
|
||||
else:
|
||||
default_keydefs = unix_keydefs
|
||||
#if sys.platform == 'win32':
|
||||
# default_keydefs = windows_keydefs
|
||||
#else:
|
||||
# default_keydefs = unix_keydefs
|
||||
|
||||
default_keydefs = idleConf.GetKeys(keySetName=None)
|
||||
|
||||
del sys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue