Subject: | Tk::Text, Searched characters is not highlighted in windows XP until dialog is closed |
I have a really simple script:
########################################################
use Tk;
Tk::Text;
my $mw = new MainWindow;
$mw->Text()->pack;
MainLoop;
########################################################
1. In the text box i write "Something is very wrong".
2. I right-click (on my mouse) and selects Search->Find.
3. A dialog appears where I am allowed to search for characters.
4. I enter "wrong" and click on the button in the dialog called Find.
If I am doing this procedure in Unix, "wrong" will be mark or
highlighted as soon as I click the button Find. But in Windows XP the
word "wrong" I searched for wont be highlighted until I close the
dialog.
###################################################################
I have found that when I have the "Find dialog" open in windows and I
click on the main window so that focus moves from the dialog box to
the main window. Charaters actually is highlighted but is only shown
as long as the focus is on that particular window...
###################################################################
Perlversion 5.8.8
Tk::Text 804.027
SunOS uws083 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Blade-100
Windows XP Professional Version 2002 Service Pack 2