If you want your routine to be called with every keystroke, then bind every keystroke.
Your callback was called once when it was modified. Since you now know it's been modified, there's no reason to call it again.
I don't have the Tk docs with me here, but I recall that you have to reset some kind of flag when modified has been called.
In reply to Re: Using Tk::Text and '<<Modified>>'
by rrwo
in thread Using Tk::Text and '<<Modified>>'
by castaway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |