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)
commit8b309a25a7526b68d72f3edba33c1213e39413b1 (patch)
treed67485577de80a784c77416adfb94ba92e938990 /library
parent1419da7214a0b3c7b38f46cb0a222266d34b916b (diff)
downloadtk-8b309a25a7526b68d72f3edba33c1213e39413b1.zip
tk-8b309a25a7526b68d72f3edba33c1213e39413b1.tar.gz
tk-8b309a25a7526b68d72f3edba33c1213e39413b1.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
}