diff options
author | fvogelnew1@free.fr <fvogel> | 2015-10-04 14:07:49 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2015-10-04 14:07:49 (GMT) |
commit | 5c1f4abb3760bb85cdfc9d56e3f977feb739e9a7 (patch) | |
tree | ef380cfaee6cd737f9140e0f49ed610ce5b75c1c | |
parent | e2670193ce114ffbe15a0f270e371a7252990b77 (diff) | |
download | tk-5c1f4abb3760bb85cdfc9d56e3f977feb739e9a7.zip tk-5c1f4abb3760bb85cdfc9d56e3f977feb739e9a7.tar.gz tk-5c1f4abb3760bb85cdfc9d56e3f977feb739e9a7.tar.bz2 |
Fixed bug [1669632fff] cases (ii) and (iii) - Tolerate a shaky hand using the mouse
-rw-r--r-- | library/text.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/text.tcl b/library/text.tcl index 792ee3b..68ca0f5 100644 --- a/library/text.tcl +++ b/library/text.tcl @@ -91,6 +91,10 @@ bind Text <Control-1> { %W edit separator } } +# stop an accidental double click triggering <Double-Button-1> +bind Text <Double-Control-1> { # nothing } +# stop an accidental movement triggering <B1-Motion> +bind Text <Control-B1-Motion> { # nothing } bind Text <Left> { tk::TextSetCursor %W insert-1displayindices } |