mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Bug fixes in index&icursor suggested by Nils Fischbeck.
This commit is contained in:
		
							parent
							
								
									ee09fc1c30
								
							
						
					
					
						commit
						6b7a7e9fe0
					
				
					 2 changed files with 10 additions and 10 deletions
				
			
		|  | @ -56,10 +56,10 @@ def focus(self): | |||
| 		self.canvas.focus(self.id) | ||||
| 	def gettags(self): | ||||
| 		return self.canvas.gettags(self.id) | ||||
| 	def icursor(self): | ||||
| 		self.canvas.icursor(self.id) | ||||
| 	def index(self): | ||||
| 		return self.canvas.index(self.id) | ||||
| 	def icursor(self, index): | ||||
| 		self.canvas.icursor(self.id, index) | ||||
| 	def index(self, index): | ||||
| 		return self.canvas.index(self.id, index) | ||||
| 	def insert(self, beforethis, string): | ||||
| 		self.canvas.insert(self.id, beforethis, string) | ||||
| 	def lower(self, belowthis=None): | ||||
|  | @ -154,7 +154,7 @@ def focus(self): | |||
| 	def gettags(self): | ||||
| 		return self.canvas.tk.splitlist(self._do('gettags', self.tag)) | ||||
| 	def icursor(self, index): | ||||
| 		return self._do('icursor') | ||||
| 		return self._do('icursor', index) | ||||
| 	def index(self, index): | ||||
| 		return self.canvas.tk.getint(self._do('index', index)) | ||||
| 	def insert(self, beforeThis, string): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum