$_ is not the same as $_[1]. See perlvar for the complete details. In this instance, $_[1] contains the key that was released and $_ truly is uninitialized. However, neither $_ nor $_[1] are going to help you do what you want.
Look instead to the Tk documentation for the get widget method. It will allow you to "get" the text from the scrolled text widget. (Oh and you'll have to fix the logic for your tag coloring to work with multiple lines.)
Good luck!
In reply to Re: Re: Re: Tk Scrolled textbox, parse on input?
by Mr. Muskrat
in thread Tk Scrolled textbox, parse on input?
by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |