diff options
author | vincentdarley <vincentdarley@noemail.net> | 2004-06-04 10:51:16 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2004-06-04 10:51:16 (GMT) |
commit | b2fc55f932f0cdc8edc61d6b83c2b2c90acce43d (patch) | |
tree | d72800bda1f80884a0368bed786b3e88820147df /library/text.tcl | |
parent | a8971b86825340e266a95c05fac81d67b38dbd0b (diff) | |
download | tk-b2fc55f932f0cdc8edc61d6b83c2b2c90acce43d.zip tk-b2fc55f932f0cdc8edc61d6b83c2b2c90acce43d.tar.gz tk-b2fc55f932f0cdc8edc61d6b83c2b2c90acce43d.tar.bz2 |
text widget fixes
FossilOrigin-Name: cb4cc14bf47525593a3b1284aee97eaf664af9f3
Diffstat (limited to 'library/text.tcl')
-rw-r--r-- | library/text.tcl | 7 |
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 } } |