mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	#17613: merge with 3.3.
This commit is contained in:
		
						commit
						d673ed9b43
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -51,6 +51,10 @@ class ColorDelegator(Delegator):
 | 
				
			||||||
            self.config_colors()
 | 
					            self.config_colors()
 | 
				
			||||||
            self.bind("<<toggle-auto-coloring>>", self.toggle_colorize_event)
 | 
					            self.bind("<<toggle-auto-coloring>>", self.toggle_colorize_event)
 | 
				
			||||||
            self.notify_range("1.0", "end")
 | 
					            self.notify_range("1.0", "end")
 | 
				
			||||||
 | 
					        else:
 | 
				
			||||||
 | 
					            # No delegate - stop any colorizing
 | 
				
			||||||
 | 
					            self.stop_colorizing = True
 | 
				
			||||||
 | 
					            self.allow_colorizing = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def config_colors(self):
 | 
					    def config_colors(self):
 | 
				
			||||||
        for tag, cnf in self.tagdefs.items():
 | 
					        for tag, cnf in self.tagdefs.items():
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1015,6 +1015,8 @@ _ Issue #17385: Fix quadratic behavior in threading.Condition.  The FIFO
 | 
				
			||||||
IDLE
 | 
					IDLE
 | 
				
			||||||
----
 | 
					----
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE.
 | 
					- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
 | 
					- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue