From: John Kaurin Date: 2001-05-15T12:40:05+09:00 Subject: [ruby-talk:15139] Re: Flushing TkText "Mathieu Bouchard" wrote in message news:Pine.LNX.3.96.1010514224714.10514C-100000@relayer... > On Tue, 15 May 2001, John Kaurin wrote: > > On a related topic TkText#delete refuses to delete the text in the text > > object I am trying to clear. The code looks something like this: > > obj.delete("1.0", "end") > > obj.see("end") # Added since previous line did not work. > > obj.update # See above, but still does not work. > > Can anyone confirm delete works on a TkText object? > > Have you tried "0.0" ? > > matju > > I will try this in the morning. delete("1.0", "end") was the example in the Perl/Tk book for clearing all the text. In my case no text gets deleted.