in reply to Re: Re: Tk Scrolled textbox, parse on input?
in thread Tk Scrolled textbox, parse on input?
$_ 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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Tk Scrolled textbox, parse on input?
by pg (Canon) on Dec 08, 2003 at 06:19 UTC | |
|
Re: Re: Re: Re: Tk Scrolled textbox, parse on input?
by Elijah (Hermit) on Dec 08, 2003 at 14:21 UTC |