400 |
# |
# |
401 |
#Texts |
#Texts |
402 |
# |
# |
403 |
|
global asc_swap_del_backspace |
404 |
# munge both backspace and delete to |
# munge both backspace and delete to |
405 |
if {$tcl_platform(platform)=="unix" && !$tk_strictMotif} { |
if {$tcl_platform(platform)=="unix" && !$tk_strictMotif && $asc_swap_del_backspace=="1" } { |
406 |
# the standard tcl text bindings. Swap them. |
# the standard tcl text bindings. Swap them. |
407 |
# bind Text <Delete> { |
# bind Text <Delete> { |
408 |
# if {[%W tag nextrange sel 1.0 end] != ""} { |
# if {[%W tag nextrange sel 1.0 end] != ""} { |