Hi,

using ding regularly, I can also confirm this mal-behavior of ding 1.6.
The bug is triggered in line 3343 of the ding Tcl-script.
To the option '-selectcolor' an empty string is specified which results in the
depicted error message with Tk version 8.5. Omitting this option at all should
give the same behavior and works as desired with Tk 8.5 as well as version 8.4.
I attach a patch for ding performing this change.
-- 
Best regards,
Jörg-Volker.
*** ding.orig	Sun Dec  6 14:55:41 2009
--- ding	Tue Mar 16 14:23:46 2010
***************
*** 3341,3347 ****
                          set cmd "$t tag configure $tag -elide \[expr \[set history_fold($num)($foldcount)\]\]"
                          checkbutton $t.fold$foldcount -image minus -selectimage plus \
                             -variable history_fold($num)($foldcount) -indicatoron 0 \
!                            -bd 0 -width 8 -height 8 -selectcolor {} \
                             -command $cmd
                          $t window create end -window $t.fold$foldcount
                          $t insert end " [lindex $l2 $i]\n" $bgtag
--- 3341,3347 ----
                          set cmd "$t tag configure $tag -elide \[expr \[set history_fold($num)($foldcount)\]\]"
                          checkbutton $t.fold$foldcount -image minus -selectimage plus \
                             -variable history_fold($num)($foldcount) -indicatoron 0 \
!                            -bd 0 -width 8 -height 8 \
                             -command $cmd
                          $t window create end -window $t.fold$foldcount
                          $t insert end " [lindex $l2 $i]\n" $bgtag

Reply via email to