diff options
author | Just van Rossum <just@lettererror.com> | 1999-04-22 22:16:58 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-04-22 22:16:58 (GMT) |
commit | 6c487c4d34a0dc80b2ed942acb487d32f8938798 (patch) | |
tree | 2a728911926fb490c14875e37f6763b99d854b39 /Mac/Tools | |
parent | ffbe68723a5cb124a1e018d05af9e279ae1ad6fe (diff) | |
download | cpython-6c487c4d34a0dc80b2ed942acb487d32f8938798.zip cpython-6c487c4d34a0dc80b2ed942acb487d32f8938798.tar.gz cpython-6c487c4d34a0dc80b2ed942acb487d32f8938798.tar.bz2 |
fixed glitch when scrolling very long files -- jvr
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/Wtext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wtext.py b/Mac/Tools/IDE/Wtext.py index b3fb66c..963f1ba 100644 --- a/Mac/Tools/IDE/Wtext.py +++ b/Mac/Tools/IDE/Wtext.py @@ -486,7 +486,7 @@ class EditText(Wbase.SelectableWidget, _ScrollWidget): elif value == "--": delta = lineheight - viewheight else: # in thumb - cur = (32767 * viewoffset) / (destheight - viewheight) + cur = (32767L * viewoffset) / (destheight - viewheight) delta = (cur-value)*(destheight - viewheight)/32767 if abs(delta - viewoffset) <=2: # compensate for irritating rounding error |