If you use tags then you must deal with "line.char" indices - there is no way to refer to parts of the text without doing so. i was using (concantate "1." string-index) for tags before - until i realised it wouldnt hold for lines other than the first one.
mandeep singh wrote:
> i've got a bit of a problem. I need to use the index function of the
> Entry
> widget to get back a line.char structure. but there doesnt seem to be any
> support for this, yet, so i thought to write it but i dont know the
> procedure to get ouput from wish. any help appreciated. thanks!
in Tcl/Tk "Text" widget index has "line.char" but Entry has just
numerical value.
if you insist in having same format, then concatenate it with "1.", but
I don't understand how this could be useful.
Best regards,
Vadim.
_______________________________________________
ltk-user site list
ltk-user@common-lisp.net
http://common-lisp.net/mailman/listinfo/ltk-user