Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
The stupid question is the question not asked
 
PerlMonks  

Re^5: Valid values of Tk::Text see() function.

by sandfly (Beadle)
on Aug 01, 2004 at 17:45 UTC ( [id://379142]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^4: Valid values of Tk::Text see() function.
in thread Valid values of Tk::Text see() function.

So, you want to ensure that the $linenumbers widget is positioned with the same vertical scroll as the $t widget. Perhaps you should ask $t where to scroll to:
(my $ytop, undef) = $t->yview; $linenumbers->yviewMoveto( $ytop );
(not tested)

Incidentally, how have you managed to display a number such as 950 in a 4-pixel wide widget?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379142]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.