in reply to Re: Onchange-like event handler for Tk text widget
in thread Onchange-like event handler for Tk text widget

I do not know what bug you're talking about,
my code, rewritten adopted to Tk, behaves correctly for win32, including ctrl+v copy-pasting:
use Tk; my $t=tkinit->Text->pack; $t->bind('<<Modified>>'=>sub { if($t->editModified) {print qq/chg\n/;$t->editModified(0)} }); MainLoop;

Replies are listed 'Best First'.
Re^3: Onchange-like event handler for Tk text widget
by lamprecht (Friar) on Apr 12, 2011 at 10:52 UTC

    You are right. I possibly did something stupid like trying to paste from an empty clipboard. Thanks for the clarification.

    Cheers, Christoph
Re^3: Onchange-like event handler for Tk text widget
by Lodae00 (Initiate) on Apr 12, 2011 at 08:16 UTC
    Dear Monks, thanks a lot. I'll try that. Greetings Lodae