tag_remove: add tagName to tk call

This commit is contained in:
Guido van Rossum 1994-07-06 21:16:58 +00:00
parent 5179236a41
commit 5113569151
2 changed files with 2 additions and 2 deletions

View File

@ -1094,7 +1094,7 @@ class Text(Widget):
self._w, 'tag', 'ranges', tagName))
def tag_remove(self, tagName, index1, index2=None):
self.tk.call(
self._w, 'tag', 'remove', index1, index2)
self._w, 'tag', 'remove', tagName, index1, index2)
def yview(self, what):
self.tk.call(self._w, 'yview', what)
def yview_pickplace(self, what):

View File

@ -1094,7 +1094,7 @@ class Text(Widget):
self._w, 'tag', 'ranges', tagName))
def tag_remove(self, tagName, index1, index2=None):
self.tk.call(
self._w, 'tag', 'remove', index1, index2)
self._w, 'tag', 'remove', tagName, index1, index2)
def yview(self, what):
self.tk.call(self._w, 'yview', what)
def yview_pickplace(self, what):