Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: [PERL Tk] printing Line number in Text widget.by thundergnat (Deacon) |
on May 10, 2010 at 17:08 UTC ( [id://839262]=note: print w/replies, xml ) | Need Help?? |
I'm not really positive what you are trying to accomplish. If you just want visible line numbers at the start of each line, try the Tk::LineNumberText module, I've used it several times and it works nicely. If you just want to know the current line and column, you can do something simple like this: Update: Made text Scrolled.
In Section
Seekers of Perl Wisdom
|
|