Hi
I have a Scrolled Text widget in my application. I am trying to implement an incremental search of a string on this text widget.
I have come up with the following logic , but it only highlights the first occurence and not the remaining ocuurences. Please help me to make it incremental for the entire text widget.
Following is my code
sub nextText { my $string = ${$searchText->cget(-textvariable)}; $textWindow->FindNext("-forwards","-exact", '-nocase', $string ); }
$searchText is an Entry widget to write the search string and $textWindow is the Tk::Scrolled ('Text') object .
Thanks.
In reply to Perl tk FindNext in a text widget by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |