まつもと ゆきひろです

以下のようなレポートが来てます。

------- Start of forwarded message -------
Date: Mon, 3 Sep 2001 13:28:21 +0900
Posted: Sun, 2 Sep 2001 23:28:49 -0500
From: Albert Wagner <alwagner / tcac.net>
Subject: [ruby-talk:20735] bug in tk.rb?
To: ruby-talk / ruby-lang.org (ruby-talk ML)

This statement:

 	@doc.dump('all', textStart, textEnd)

where @doc is an instance of TkText and textStart and textEnd are Tk indices 
in line.char format,  fails:

(eval):607:in `mainloop': /usr/local/lib/ruby/1.6/tk.rb:57:in `tk_tcl2ruby': 
undefined method `include?' for nil (NameError)
        from /usr/local/lib/ruby/1.6/tk.rb:607:in `mainloop'
        from tableText.rb:534

The statement:

	@doc.dump('text', textStart, textEnd) 

works, after a fashion, returning the text up to the insert mark rather than 
up to textEnd.

Is this a known problem?  Or is there something wrong with the statement? The 
tk_tcl2ruby method in tk.rb will take me a while to figure out.  Thanks ahead 
for any help.
------- End of forwarded message -------