Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Perl tk FindNext in a text widget

by ghosh123 (Monk)
on May 31, 2013 at 07:26 UTC ( [id://1036185]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1036185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found