Hmm,
nope -- perldoc Tk |grep -in position
nope -- grep SetPosition -r Tk-804.031
*brains* -- I remember its http://search.cpan.org/dist/Tk/pod/Text.pod#INDICES you want
$text->SetCursor( "$line.$char" ); $text->SetCursor( "+ $count chars" ); $text->SetCursor( "- $count chars" ); $text->SetCursor( "+ $count lines" ); $text->SetCursor( "- $count lines" ); $text->SetCursor( "wordstart" ); $text->SetCursor( "wordend" ); $text->SetCursor( "linestart" ); $text->SetCursor( "lineend" ); $text->SetCursor( "imageName" ); $text->SetCursor( $widget ); $text->SetCursor( "tag.first" ); $text->SetCursor( "tag.last" ); $text->SetCursor( "mark" ); $text->SetCursor( "othermark" ); $text->SetCursor( "end" ); $text->SetCursor( "@30,50" ); ## pixels
In reply to Re: How to use Tk::Text->SetCursor (INDICES/INDEX)
by Anonymous Monk
in thread How to use Tk::Text->SetCursor
by Yu Chen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |