mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168.
This commit is contained in:
		
							parent
							
								
									18d2f39af7
								
							
						
					
					
						commit
						4b7e35b530
					
				
					 2 changed files with 12 additions and 1 deletions
				
			
		|  | @ -1,3 +1,14 @@ | ||||||
|  | What's New in IDLE 1.2c1? | ||||||
|  | ========================= | ||||||
|  | 
 | ||||||
|  | *Release date: XX-XXX-2006* | ||||||
|  | 
 | ||||||
|  | - Rebinding Tab key was inserting 'tab' instead of 'Tab'.  Bug 1179168. | ||||||
|  | 
 | ||||||
|  | - Colorizer now handles #<builtin> correctly, also unicode strings and | ||||||
|  |   'as' keyword in comment directly following import command. Closes 1325071. | ||||||
|  |   Patch 1479219 Tal Einat | ||||||
|  | 
 | ||||||
| What's New in IDLE 1.2b2? | What's New in IDLE 1.2b2? | ||||||
| ========================= | ========================= | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -202,7 +202,7 @@ def TranslateKey(self, key, modifiers): | ||||||
|                 ':':'colon',',':'comma','.':'period','<':'less','>':'greater', |                 ':':'colon',',':'comma','.':'period','<':'less','>':'greater', | ||||||
|                 '/':'slash','?':'question','Page Up':'Prior','Page Down':'Next', |                 '/':'slash','?':'question','Page Up':'Prior','Page Down':'Next', | ||||||
|                 'Left Arrow':'Left','Right Arrow':'Right','Up Arrow':'Up', |                 'Left Arrow':'Left','Right Arrow':'Right','Up Arrow':'Up', | ||||||
|                 'Down Arrow': 'Down', 'Tab':'tab'} |                 'Down Arrow': 'Down', 'Tab':'Tab'} | ||||||
|         if key in translateDict.keys(): |         if key in translateDict.keys(): | ||||||
|             key = translateDict[key] |             key = translateDict[key] | ||||||
|         if 'Shift' in modifiers and key in string.ascii_lowercase: |         if 'Shift' in modifiers and key in string.ascii_lowercase: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser