mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark. Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
This commit is contained in:
		
							parent
							
								
									84023247b4
								
							
						
					
					
						commit
						d0c0f0041c
					
				
					 8 changed files with 48 additions and 25 deletions
				
			
		|  | @ -739,7 +739,7 @@ def ResetColorizer(self): | |||
|         # Called from self.filename_change_hook and from configDialog.py | ||||
|         self._rmcolorizer() | ||||
|         self._addcolorizer() | ||||
|         theme = idleConf.GetOption('main','Theme','name') | ||||
|         theme = idleConf.CurrentTheme() | ||||
|         normal_colors = idleConf.GetHighlight(theme, 'normal') | ||||
|         cursor_color = idleConf.GetHighlight(theme, 'cursor', fgBg='fg') | ||||
|         select_colors = idleConf.GetHighlight(theme, 'hilite') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy