diff options
Diffstat (limited to 'lib/tktext.rb')
-rw-r--r-- | lib/tktext.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tktext.rb b/lib/tktext.rb index 2488f77793..47e11f2c85 100644 --- a/lib/tktext.rb +++ b/lib/tktext.rb @@ -131,7 +131,7 @@ class TkTextMark<TkObject @t = parent @path = @id = $tk_text_mark $tk_text_mark = $tk_text_mark.succ - tk_call @t.path, 'set', @id, index + tk_call @t.path, 'mark', 'set', @id, index @t._addtag id, self end def id @@ -139,7 +139,7 @@ class TkTextMark<TkObject end def set(where) - tk_call @t.path, 'mark', 'unset', @id, where + tk_call @t.path, 'mark', 'set', @id, where end def unset |