in reply to Re: Very strange Scrollbar behavior in Win32 Perl/Tk version 804.027
in thread Very strange Scrollbar behavior in Win32 Perl/Tk version 804.027

Excellent answer, and ++graff.

Thank you very much for clearing up that mystery.  I was getting quite worried when *both* of my Perl installations were acting so bizarre.

Apparently this is only an artifact of having huge amounts of text in a Text widget, -without- any newlines.  After applying your simple one-liner $text =~ s/>/>\n/g;, the Text widget is behaving as it should.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
  • Comment on Re^2: Very strange Scrollbar behavior in Win32 Perl/Tk version 804.027
  • Download Code

Replies are listed 'Best First'.
Re^3: Very strange Scrollbar behavior in Win32 Perl/Tk version 804.027
by BrowserUk (Patriarch) on Oct 29, 2006 at 16:41 UTC

    If you change line 86 of your code, to turn off wrapping:push @opts, -wrap => 'none';, you also get more normal scrollbar behaviour.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.