<?xml version="1.0" encoding="windows-1252"?>
<node id="371222" title="Re: text delete hangs in Perl/Tk" created="2004-07-01 15:43:45" updated="2005-06-08 20:54:41">
<type id="11">
note</type>
<author id="239281">
arden</author>
<data>
<field name="doctext">
Your syntax is correct: "&lt;CODE&gt;$text-&gt;delete("1.0", 'end');&lt;/CODE&gt;". Are you sure that your script is hung or might it just be that the amount of text between your indexes is that large ("&lt;I&gt;several thousand lines with as many as ~1000 characters per line&lt;/I&gt;")?
&lt;P&gt;Perhaps if you provided us with the block of code around where you think it is hanging it might help. You could be wrong as to the cause. . .
&lt;P&gt; - - arden.
&lt;BR&gt;&lt;FONT size=-2&gt;TMI is better than NEI in the tech-help world!&lt;/FONT&gt;</field>
<field name="root_node">
371192</field>
<field name="parent_node">
371192</field>
</data>
</node>
