diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-02-27 04:25:47 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-02-27 04:25:47 (GMT) |
commit | 51183fa34e5f5f2554a87084acf36cc8e14d1b21 (patch) | |
tree | ed31286fb7cc915a23cdb82b4ab86c5120464b6f /library/text.tcl | |
parent | 930a9c0ad615486a65f23ed38729f06e1dfee051 (diff) | |
download | tk-51183fa34e5f5f2554a87084acf36cc8e14d1b21.zip tk-51183fa34e5f5f2554a87084acf36cc8e14d1b21.tar.gz tk-51183fa34e5f5f2554a87084acf36cc8e14d1b21.tar.bz2 |
Cleanup of library code, removal of unneeded function
Diffstat (limited to 'library/text.tcl')
-rw-r--r-- | library/text.tcl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/library/text.tcl b/library/text.tcl index 644dcdb..d8bf1a2 100644 --- a/library/text.tcl +++ b/library/text.tcl @@ -85,9 +85,6 @@ bind Text <B1-Enter> { } bind Text <ButtonRelease-1> { tk::CancelRepeat - if {[tk windowingsystem] eq "aqua"} { - catch {tk::CheckSelection %W} - } } bind Text <Control-1> { %W mark set insert @%x,%y @@ -1216,10 +1213,3 @@ proc ::tk::TextScanDrag {w x y} { $w scan dragto $x $y } } - - -proc ::tk::CheckSelection {w} { - clipboard clear - clipboard append [$w get sel.first sel.last] - -} |