summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-03-31 09:24:11 (GMT)
committerhobbs <hobbs>2000-03-31 09:24:11 (GMT)
commitb6e815a78d530ea2de673fd5df7b83e08bcfca25 (patch)
tree57e934ce1272a995275eac17554aa82bf3637924 /library/text.tcl
parent50101abe09329eb91d99c0c501494179e8ae5b47 (diff)
downloadtk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.zip
tk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.tar.gz
tk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.tar.bz2
* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
[Bug: 4506] * library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be called in tkIconList_Select. This causes the entry to be set properly when using the type-in-name-in-listbox bindings.
Diffstat (limited to 'library/text.tcl')
-rw-r--r--library/text.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/text.tcl b/library/text.tcl
index dd660f8..f1b79e4 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.10 2000/02/10 08:52:50 hobbs Exp $
+# RCS: @(#) $Id: text.tcl,v 1.11 2000/03/31 09:24:11 hobbs Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -829,7 +829,7 @@ proc tkTextUpDownLine {w n} {
proc tkTextPrevPara {w pos} {
set pos [$w index "$pos linestart"]
- while 1 {
+ while {1} {
if {([string equal [$w get "$pos - 1 line"] "\n"] \
&& [string compare [$w get $pos] "\n"]) \
|| [string equal $pos "1.0"]} {