summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-10-04 08:32:33 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-10-04 08:32:33 (GMT)
commit7d10a04317961271b36f8cc89ad509b6883e7437 (patch)
treed67485577de80a784c77416adfb94ba92e938990 /library
parentdad245cdf5488cb4136029b8d2dfffaa74d43278 (diff)
downloadtk-7d10a04317961271b36f8cc89ad509b6883e7437.zip
tk-7d10a04317961271b36f8cc89ad509b6883e7437.tar.gz
tk-7d10a04317961271b36f8cc89ad509b6883e7437.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
}