From 75b12cf5b5e1f30c410bafa4a2d8647346318980 Mon Sep 17 00:00:00 2001 From: hobbs Date: Mon, 4 Mar 2002 07:36:39 +0000 Subject: added catch around Triple-1 binding use of sel.last --- ChangeLog | 4 ++++ library/entry.tcl | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ec21104..67e6512 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-03-03 Jeff Hobbs + + * library/entry.tcl: added catch around Triple-1 binding use of sel.last + 2002-02-28 Don Porter * library/console.tcl (ConsoleBind): Corrected console <> 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 { bind Entry { set tk::Priv(selectMode) line tk::EntryMouseSelect %W %x - %W icursor sel.last + catch {%W icursor sel.last} } bind Entry { set tk::Priv(selectMode) char -- cgit v0.12