From: Albert Wagner Date: 2002-08-08T13:51:04+09:00 Subject: Re: Bug in TkText On Wednesday 07 August 2002 10:47 pm, michael libby wrote: > TkText#dump method wants a block it seems. Thanks, Michael. I'll try that. I also seemed to fix working without a block by changing a statement in the dump method. I changed the argument of the single statement in the --- when 'tagoff' --- from sel to val. Sorry, but I can't give an accurate line number at the moment as the code is full of debugging statements. def dump(type_info, *index, &block) when 'tagoff' result.push tk_tcl2ruby(val) #sel) In my sample: p text.dump('tag', '1.0','1.14') prints: [["tagon", "tag0000", "1.0"], ["tagoff", "tag0000", "1.4"], ["tagon", "tag0001", "1.6"], ["tagoff", "tag0001", "1.7"], ["tagon", "tag0000", "1.10"]] What version of Ruby and Tcl/Tk are you using?