diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-10 10:13:30 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-10 10:13:30 +0000 |
| commit | 4a499de068f65dfa8c5258c456324d5d32e3286a (patch) | |
| tree | c981003f0983f34978882802c6b8db378df5ab93 /ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb | |
| parent | de7dc8d88d24a28d1e2bf0f0a27b09d5f3ef5f34 (diff) | |
| download | ruby-4a499de068f65dfa8c5258c456324d5d32e3286a.tar.gz ruby-4a499de068f65dfa8c5258c456324d5d32e3286a.tar.xz ruby-4a499de068f65dfa8c5258c456324d5d32e3286a.zip | |
* ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler
when exit from a recursive called eventloop
* ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
realtime operation
* ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
* ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to
TkText::IndexModMethods
* ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
add them to TkText::IndexModMethods module
* ext/tk/sample/tktextio.rb: add test part of "seek by text index
modifiers"
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb')
| -rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb index 39a9ed63c..bfff6804d 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb @@ -240,8 +240,8 @@ class Tk::Iwidgets::Scrolledtext } end - def index(index) - tk_send_without_enc('index', _get_eval_enc_str(index)) + def index(idx) + tk_send_without_enc('index', _get_eval_enc_str(idx)) end def insert(index, *args) |
