seems to work with 'insert' :
perl -MTk -e'$t = tkinit->Text->pack;$t->bind("<KeyPress>", sub{print $t->index("insert"),"\n"});MainLoop'In reply to Re^3: cursor position in text widget and linenumbertext
by lamprecht
in thread cursor position in text widget and linenumbertext
by balee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |