in reply to Re^3: Perl tk FindNext in a text widget
in thread Perl tk FindNext in a text widget

Sorry to disagree, 'next' button does not work incrementally unlike 'prev' button. Clicking the 'next' button does not go on highlighting all the occurence of the search text. It only highlights the first occurence and then stops working.

  • Comment on Re^4: Perl tk FindNext in a text widget

Replies are listed 'Best First'.
Re^5: Perl tk FindNext in a text widget
by Anonymous Monk on May 31, 2013 at 08:00 UTC

    Sure it does :)

    $ perl -d:Modlist fudge AutoLoader 5.72 Carp 1.26 Config Cwd 3.36 DynaLoader 1.13 Encode 2.47 Encode::Alias 2.16 Encode::Byte 2.04 Encode::Config 2.05 Encode::Encoding 2.05 Encode::Unicode 2.07 Exporter 5.66 Exporter::Heavy 5.66 File::Spec 3.33 File::Spec::Unix 3.33 File::Spec::Win32 3.33 Symbol 1.07 Text::Tabs 2012.0818 Tk 804.03 Tk::After 4.008 Tk::Button 4.010 Tk::Clipboard 4.009 Tk::CmdLine 4.007 Tk::Configure 4.009 Tk::Derived 4.011 Tk::Entry 4.018 Tk::Event 4.024 Tk::Event::IO 4.009 Tk::Frame 4.010 Tk::Image 4.011 Tk::MainWindow 4.015 Tk::Scrollbar 4.010 Tk::Submethods 4.005 Tk::Text 4.028 Tk::Toplevel 4.006 Tk::Widget 4.035 Tk::Wm 4.015 XSLoader 0.15 base 2.18 bytes 1.04 constant 1.21 feature 1.20 unicore::Heavy.pl unicore::To::Lower.pl utf8 1.09 utf8_heavy.pl vars 1.02 warnings 1.12 warnings::register 1.02

      But while trying to use it for a string "Text" opening the application, the "next" button is not highlighting all the occurences of "Text" one by one. Only highlights the first.
      Whereas "prev" button is working fine.

        But while I repeat myself :)

        Well it works for me, it works for thundergnat -- why are you so special?