summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-06-04 10:51:17 (GMT)
committervincentdarley <vincentdarley>2004-06-04 10:51:17 (GMT)
commit0599d09e8d0ef7c3d1d1afbd61e61e2a4c14b099 (patch)
treed72800bda1f80884a0368bed786b3e88820147df /library/text.tcl
parentdf2af8293fc2b2a31a501cf87e04b8b34729dc9f (diff)
downloadtk-0599d09e8d0ef7c3d1d1afbd61e61e2a4c14b099.zip
tk-0599d09e8d0ef7c3d1d1afbd61e61e2a4c14b099.tar.gz
tk-0599d09e8d0ef7c3d1d1afbd61e61e2a4c14b099.tar.bz2
text widget fixes
Diffstat (limited to 'library/text.tcl')
-rw-r--r--library/text.tcl7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/text.tcl b/library/text.tcl
index d038002..7b181b1 100644
--- a/library/text.tcl
+++ b/library/text.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk text widgets and provides
# procedures that help in implementing the bindings.
#
-# RCS: @(#) $Id: text.tcl,v 1.30 2004/03/17 18:15:45 das Exp $
+# RCS: @(#) $Id: text.tcl,v 1.31 2004/06/04 10:51:18 vincentdarley Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -457,7 +457,10 @@ bind Text <MouseWheel> {
}
if {[string equal [tk windowingsystem] "aqua"]} {
bind Text <Option-MouseWheel> {
- %W yview scroll [expr {- 10*%D}] pixels
+ %W yview scroll [expr {-150 * %D}] pixels
+}
+bind Text <MouseWheel> {
+ %W yview scroll [expr {-15 * %D}] pixels
}
}