Subject: | Tk::Text bug report |
Date: | Sun, 15 Nov 2009 01:50:54 +0000 |
To: | slaven [...] rezic.de |
From: | "Scott R. Keszler" <keszler [...] srkconsulting.com> |
Full write-up: http://perlmonks.org/index.pl?node_id=807208
In short, the Tk::Text documentation for $text->FindNext says to use -forward
or -reverse to control search direction. The parameter is passed by Tk/Text.pm
to $text->search, which is documented to accept -forwards or -backwards. Using
-reverse in FindNext produces an error.
Simple fix: change Tk::Text documentation for FindNext to show -forward and
-backward as the direction parameters.
Full fix: change Tk/Text.pm (and the docs) to use -forwards and -backwards,
matching the C for the TextSearchCmd function.
--
Scott R. Keszler
Consultant
keszler@srkconsulting.com
701-361-8406 (cell)