diff options
author | jenglish@flightlab.com <jenglish> | 2003-10-06 22:14:26 (GMT) |
---|---|---|
committer | jenglish@flightlab.com <jenglish> | 2003-10-06 22:14:26 (GMT) |
commit | 13f8aded1bdb8107a22ab909a72acec0b8e2e468 (patch) | |
tree | b21909f09bda9d05855b605a23a7d829ed8b38f1 /library | |
parent | 28863bad0a2d3a6db16a3d0422b62b5feadde00f (diff) | |
download | tk-13f8aded1bdb8107a22ab909a72acec0b8e2e468.zip tk-13f8aded1bdb8107a22ab909a72acec0b8e2e468.tar.gz tk-13f8aded1bdb8107a22ab909a72acec0b8e2e468.tar.bz2 |
* library/text.tcl, doc/text.n: Text widget binding for
Control-v is now Mac-only, since it conflicts with standard
<<Paste>> binding on other platforms. [Bug #605277]
Diffstat (limited to 'library')
-rw-r--r-- | library/text.tcl | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/library/text.tcl b/library/text.tcl index 864709a..7a3a699 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.25 2003/05/19 13:04:24 vincentdarley Exp $ +# RCS: @(#) $Id: text.tcl,v 1.26 2003/10/06 22:14:26 jenglish Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1997 Sun Microsystems, Inc. @@ -347,14 +347,6 @@ bind Text <<Redo>> { catch { %W edit redo } } -if {[string compare $tcl_platform(platform) "windows"]} { -bind Text <Control-v> { - if {!$tk_strictMotif} { - tk::TextScrollPages %W 1 - } -} -} - bind Text <Meta-b> { if {!$tk_strictMotif} { tk::TextSetCursor %W [tk::TextPrevPos %W insert tcl_startOfPreviousWord] @@ -428,6 +420,9 @@ bind Text <Shift-Option-Up> { bind Text <Shift-Option-Down> { tk::TextKeySelect %W [tk::TextNextPara %W insert] } +bind Text <Control-v> { + tk::TextScrollPages %W 1 +} # End of Mac only bindings } |