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 | |
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]
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | library/ttk/entry.tcl | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2007-09-30 Joe English <jenglish@users.sourceforge.net> + + * library/ttk/entry.tcl (WordBack, WordForward): + Fix private routines accidentally defined in global namespace + [Bug 1803836] + 2007-09-26 Donal K. Fellows <donal.k.fellows@manchester.ac.uk> * library/msgs/hu.msg: Added Hungarian message set, from Pader Reszo. 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 } |