summaryrefslogtreecommitdiffstats
path: root/library/text.tcl
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-10-03 19:32:12 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-10-03 19:32:12 (GMT)
commit2dd8ad649bc8bfdd770f0f1c96c3a586e75ff8d6 (patch)
tree3b9674cfd3a76ce7d09656a416ced7cdfe416133 /library/text.tcl
parent6b0cdcf48a164136dddb5bd786e12fbb181e6ca1 (diff)
downloadtk-2dd8ad649bc8bfdd770f0f1c96c3a586e75ff8d6.zip
tk-2dd8ad649bc8bfdd770f0f1c96c3a586e75ff8d6.tar.gz
tk-2dd8ad649bc8bfdd770f0f1c96c3a586e75ff8d6.tar.bz2
Fixed bug [1669632fff] case (i) - autoseparator was missing on <Control-1>
Diffstat (limited to 'library/text.tcl')
-rw-r--r--library/text.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/text.tcl b/library/text.tcl
index 0e43e61..1321334 100644
--- a/library/text.tcl
+++ b/library/text.tcl
@@ -85,6 +85,9 @@ bind Text <ButtonRelease-1> {
}
bind Text <Control-1> {
%W mark set insert @%x,%y
+ if {[%W cget -autoseparators]} {
+ %W edit separator
+ }
}
bind Text <Left> {
tk::TextSetCursor %W insert-1displayindices