[ltk-user] Entry index

mandeep singh lassiholik at gmail.com
Tue May 8 11:46:38 UTC 2007


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.

On 5/8/07, Vadim <vadim at vkonovalov.ru> wrote:
>
> 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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ltk-user/attachments/20070508/4577ecfe/attachment.html>


More information about the ltk-user mailing list