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:
parent
9fb43cc20f
commit
37bcc42c98
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue