Re: Insert position on text widget?
- From: saulij <saulij@xxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 19:28:11 +0300
Bryan Oakley wrote:
saulij wrote:Works fine.How can i get current insert position (line) from tk text widget?
Sauli
set insert [$textWidget index insert]
set line [lindex [split $insert .] 0]
Thanks
Sauli
.
- References:
- Insert position on text widget?
- From: saulij
- Re: Insert position on text widget?
- From: Bryan Oakley
- Insert position on text widget?
- Prev by Date: Re: Extensive Cheat *** for Tcl/Tk
- Next by Date: Re: expect -notransfer option
- Previous by thread: Re: Insert position on text widget?
- Next by thread: Ftp packages
- Index(es):