summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-03-04 07:36:39 (GMT)
committerhobbs <hobbs>2002-03-04 07:36:39 (GMT)
commit75b12cf5b5e1f30c410bafa4a2d8647346318980 (patch)
treed83a4680bba568551aadd4b1fa9dba0a1a75f277 /library
parente1489c29e94498a457284dc9fd85de49dd9cec0d (diff)
downloadtk-75b12cf5b5e1f30c410bafa4a2d8647346318980.zip
tk-75b12cf5b5e1f30c410bafa4a2d8647346318980.tar.gz
tk-75b12cf5b5e1f30c410bafa4a2d8647346318980.tar.bz2
added catch around Triple-1 binding use of sel.last
Diffstat (limited to 'library')
-rw-r--r--library/entry.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/entry.tcl b/library/entry.tcl
index b869788..6542903 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.18 2002/02/15 05:48:08 mdejong Exp $
+# RCS: @(#) $Id: entry.tcl,v 1.19 2002/03/04 07:36:39 hobbs Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -87,7 +87,7 @@ bind Entry <Double-1> {
bind Entry <Triple-1> {
set tk::Priv(selectMode) line
tk::EntryMouseSelect %W %x
- %W icursor sel.last
+ catch {%W icursor sel.last}
}
bind Entry <Shift-1> {
set tk::Priv(selectMode) char