> Hi all and thanks evreyone who help me with the unix comand question!
> I have anather problem now: I use a Text object and I want to keep his
> text but i don't be able to do it!
> I try this:
> $widget(TxtObj) get 0
> but this return me that 0 is a bad text index!
> Has anyone can help me?
In order to get the entire contents of a text object, you need to
get from the first point to the last. Usually, this would be the
indices 0 to end. However, in a text object, indices are not simply
done by character position. They require a line number AND character
position. So, an indices in a text object is line.character. To get
the entire contents, you do this:
$widget(TxtObj) get 0.0 end
Damon
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user