summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2003-01-23 23:30:11 (GMT)
committerdrh <drh@noemail.net>2003-01-23 23:30:11 (GMT)
commita227d3a4a5b04924d3f7c458dfd9a4a5be42676c (patch)
treedd6bd5b08988c9e068ede5b1ea4161854f8bf940 /library
parentff4b0c4b21699267accc7790e8c155b12bab29c5 (diff)
downloadtk-a227d3a4a5b04924d3f7c458dfd9a4a5be42676c.zip
tk-a227d3a4a5b04924d3f7c458dfd9a4a5be42676c.tar.gz
tk-a227d3a4a5b04924d3f7c458dfd9a4a5be42676c.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]. FossilOrigin-Name: eab46dcfdfa0fcae60bf25b33fb4570ec4074190
Diffstat (limited to 'library')
-rw-r--r--library/entry.tcl3
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
}