diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2005-07-26 12:38:19 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2005-07-26 12:38:19 (GMT) |
commit | 3b718d8bf0afb12a95637d80f79a9175735ce8bd (patch) | |
tree | f46c41133fa7017c5cc71fea96337ead3237bae4 /library | |
parent | 3d892f1d5133a90d1476d140598449ce77c58c6f (diff) | |
download | tk-3b718d8bf0afb12a95637d80f79a9175735ce8bd.zip tk-3b718d8bf0afb12a95637d80f79a9175735ce8bd.tar.gz tk-3b718d8bf0afb12a95637d80f79a9175735ce8bd.tar.bz2 |
Very minor whitespace fixes
Diffstat (limited to 'library')
-rw-r--r-- | library/text.tcl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/text.tcl b/library/text.tcl index aac82cb..051f9b8 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.38 2005/07/21 15:42:20 dkf Exp $ +# RCS: @(#) $Id: text.tcl,v 1.39 2005/07/26 12:38:19 dkf Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1997 Sun Microsystems, Inc. @@ -453,8 +453,8 @@ set ::tk::Priv(prevPos) {} # down to zero. # We must make sure that positive and negative movements are rounded -# equally to integers, avoiding the problem that -# (int)1/3 = 0, +# equally to integers, avoiding the problem that +# (int)1/3 = 0, # but # (int)-1/3 = -1 # The following code ensure equal +/- behaviour. @@ -604,14 +604,14 @@ proc ::tk::TextSelectTo {w x y {extend 0}} { } elseif {[$w compare $cur > $last]} { set last $cur } - + # Now find word boundaries set first [TextPrevPos $w "$first + 1c" tcl_wordBreakBefore] set last [TextNextPos $w "$last - 1c" tcl_wordBreakAfter] } line { # Set initial range based only on the anchor - set first "tk::anchor$w linestart" + set first "tk::anchor$w linestart" set last "tk::anchor$w lineend" # Extend range (if necessary) based on the current point @@ -862,8 +862,8 @@ proc ::tk::TextInsert {w s} { $w insert insert $s $w see insert if {$compound && $oldSeparator} { - $w edit separator - $w configure -autoseparators 1 + $w edit separator + $w configure -autoseparators 1 } } |