diff options
author | jenglish <jenglish@flightlab.com> | 2007-09-30 16:54:37 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2007-09-30 16:54:37 (GMT) |
commit | 39eb78f09822d3be7c849892f87a57b7267f912a (patch) | |
tree | 04d694ca5e881548a5dfa741f33153549f97bcd2 /library | |
parent | 9fe5179f095184c7c882e6b4cfd04513611843ba (diff) | |
download | tk-39eb78f09822d3be7c849892f87a57b7267f912a.zip tk-39eb78f09822d3be7c849892f87a57b7267f912a.tar.gz tk-39eb78f09822d3be7c849892f87a57b7267f912a.tar.bz2 |
Fix private routines accidentally defined in global namespace [Bug 1803836]
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/entry.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/ttk/entry.tcl b/library/ttk/entry.tcl index 7d84be7..cd1ba5e 100644 --- a/library/ttk/entry.tcl +++ b/library/ttk/entry.tcl @@ -1,5 +1,5 @@ # -# $Id: entry.tcl,v 1.2 2006/11/07 03:45:28 jenglish Exp $ +# $Id: entry.tcl,v 1.3 2007/09/30 16:54:38 jenglish Exp $ # # DERIVED FROM: tk/library/entry.tcl r1.22 # @@ -452,11 +452,11 @@ proc ttk::entry::WordSelect {w from to} { ## WordBack, WordForward -- helper routines for WordSelect. # -proc WordBack {text index} { +proc ttk::entry::WordBack {text index} { if {[set pos [tcl_wordBreakBefore $text $index]] < 0} { return 0 } return $pos } -proc WordForward {text index} { +proc ttk::entry::WordForward {text index} { if {[set pos [tcl_wordBreakAfter $text $index]] < 0} { return end } return $pos } |