summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-10-04 08:32:33 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-10-04 08:32:33 (GMT)
commit9e146c39c771691efd4c2a89389d3d00a0e8006b (patch)
treed67485577de80a784c77416adfb94ba92e938990 /library
parentf6c4ba9da384cce5b1678692a580c62d478e065a (diff)
downloadtk-9e146c39c771691efd4c2a89389d3d00a0e8006b.zip
tk-9e146c39c771691efd4c2a89389d3d00a0e8006b.tar.gz
tk-9e146c39c771691efd4c2a89389d3d00a0e8006b.tar.bz2
Added forgotten comment for case (iv)
Diffstat (limited to 'library')
-rw-r--r--library/text.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/text.tcl b/library/text.tcl
index 080b133..f973984 100644
--- a/library/text.tcl
+++ b/library/text.tcl
@@ -246,6 +246,8 @@ bind Text <Control-slash> {
}
bind Text <Control-backslash> {
%W tag remove sel 1.0 end
+ # An operation that clears the selection must insert an autoseparator,
+ # because the selection operation may have moved the insert mark
if {[%W cget -autoseparators]} {
%W edit separator
}