From a3cd357771f15b4eb3984ca13a618bae9deae1a1 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Wed, 6 Jul 1994 09:28:21 +0000
Subject: 	* ScrolledText.py: added some more methods of Text (This
 should 	really be done differently, e.g. by deriving from the Text
 class.)

---
 Lib/lib-tk/ScrolledText.py  | 10 ++++++++++
 Lib/tkinter/ScrolledText.py | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py
index 9effae0..ed1cc56 100644
--- a/Lib/lib-tk/ScrolledText.py
+++ b/Lib/lib-tk/ScrolledText.py
@@ -30,6 +30,16 @@ class ScrolledText(Pack, Place):
 		# XXX should do all Text methods...
 		self.pack = self.frame.pack
 		self.forget = self.frame.forget
+		self.delete = self.text.delete
+		self.insert = self.text.insert
+		self.index = self.text.index
+		self.get = self.text.get
+		self.mark_set = self.text.mark_set
+		self.tag_add = self.text.tag_add
+		self.tag_delete = self.text.tag_delete
+		self.tag_remove = self.text.tag_remove
+		self.yview = self.text.yview
+		self.yview_pickplace = self.text.yview_pickplace
 		self.tk = master.tk
 	def __str__(self):
 		return str(self.frame)
diff --git a/Lib/tkinter/ScrolledText.py b/Lib/tkinter/ScrolledText.py
index 9effae0..ed1cc56 100755
--- a/Lib/tkinter/ScrolledText.py
+++ b/Lib/tkinter/ScrolledText.py
@@ -30,6 +30,16 @@ class ScrolledText(Pack, Place):
 		# XXX should do all Text methods...
 		self.pack = self.frame.pack
 		self.forget = self.frame.forget
+		self.delete = self.text.delete
+		self.insert = self.text.insert
+		self.index = self.text.index
+		self.get = self.text.get
+		self.mark_set = self.text.mark_set
+		self.tag_add = self.text.tag_add
+		self.tag_delete = self.text.tag_delete
+		self.tag_remove = self.text.tag_remove
+		self.yview = self.text.yview
+		self.yview_pickplace = self.text.yview_pickplace
 		self.tk = master.tk
 	def __str__(self):
 		return str(self.frame)
-- 
cgit v0.12

