Import build of Tcl/Tk 8.6.9

This commit is contained in:
Steve Dower
2018-12-13 14:51:57 -08:00
parent 4ee57ea08c
commit 86027ce3ed
282 changed files with 14926 additions and 11642 deletions

View File

@@ -1058,13 +1058,13 @@ proc ::tk_textCut w {
# make <<Cut>> an atomic operation on the Undo stack,
# i.e. separate it from other delete operations on either side
set oldSeparator [$w cget -autoseparators]
if {$oldSeparator} {
if {([$w cget -state] eq "normal") && $oldSeparator} {
$w edit separator
}
clipboard clear -displayof $w
clipboard append -displayof $w $data
$w delete sel.first sel.last
if {$oldSeparator} {
if {([$w cget -state] eq "normal") && $oldSeparator} {
$w edit separator
}
}