1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tktext.rb

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1999-06-11 07:07:06 +00:00
parent 9fb43cc20f
commit 37bcc42c98

View file

@ -471,7 +471,7 @@ class TkTextTag<TkObject
end
def ranges
l = tk_split_list(tk_call(@t.path, 'tag', 'ranges', @id))
l = tk_split_simplelist(tk_call(@t.path, 'tag', 'ranges', @id))
r = []
while key=l.shift
r.push [key, l.shift]