diff options
author | drh@sqlite.org <drh> | 2003-01-23 23:30:11 (GMT) |
---|---|---|
committer | drh@sqlite.org <drh> | 2003-01-23 23:30:11 (GMT) |
commit | 6fcc710f4051c02fa35842f9257cc2af18edc39e (patch) | |
tree | dd6bd5b08988c9e068ede5b1ea4161854f8bf940 /library | |
parent | 63621bfadbb2827543dec4243c786dc8e6eb81ff (diff) | |
download | tk-6fcc710f4051c02fa35842f9257cc2af18edc39e.zip tk-6fcc710f4051c02fa35842f9257cc2af18edc39e.tar.gz tk-6fcc710f4051c02fa35842f9257cc2af18edc39e.tar.bz2 |
Fix the entry widget's KeyPress binding so that text is entered from
left to right, not right to left, even if the mouse button is being
held down. [Bug #673687].
Diffstat (limited to 'library')
-rw-r--r-- | library/entry.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/entry.tcl b/library/entry.tcl index 04e3c35..8828909 100644 --- a/library/entry.tcl +++ b/library/entry.tcl @@ -3,7 +3,7 @@ # This file defines the default bindings for Tk entry widgets and provides # procedures that help in implementing those bindings. # -# RCS: @(#) $Id: entry.tcl,v 1.20 2002/08/31 06:12:28 das Exp $ +# RCS: @(#) $Id: entry.tcl,v 1.21 2003/01/23 23:30:11 drh Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1997 Sun Microsystems, Inc. @@ -188,6 +188,7 @@ bind Entry <Control-backslash> { %W selection clear } bind Entry <KeyPress> { + tk::CancelRepeat tk::EntryInsert %W %A } |