in reply to text delete hangs in Perl/Tk
Your syntax is correct: "$text->delete("1.0", 'end');". Are you sure that your script is hung or might it just be that the amount of text between your indexes is that large ("several thousand lines with as many as ~1000 characters per line")?
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. . .
- - arden.
TMI is better than NEI in the tech-help world!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: text delete hangs in Perl/Tk
by Anonymous Monk on Jul 01, 2004 at 19:58 UTC | |
by remling (Novice) on Apr 26, 2017 at 16:49 UTC | |
by eserte (Deacon) on Jul 02, 2004 at 11:40 UTC |
In Section
Seekers of Perl Wisdom