Attachment "revised_text_bug_6e16952a49.tcl" to
ticket [6e16952a]
added by
kjnash
2018-01-24 13:18:37.
#! /usr/bin/env wish
# revised_text bug 6e16952a49
. configure -bg #a0a0a0
destroy .t1
text .t1 -padx 5 -bd 10 -relief flat -height 10 -undo 1 -wrap word -bg white
pack .t1 -padx 4 -pady 4
.t1 insert end {Bug in revised_text [74f86687]. This text widget has -padx 5, but any positive value will do.
Look for coloring of the rightmost pixel column of the left margin. It is intermittent and may depend on whether the widget has focus, and the position of the insert mark.
}
.t1 tag add demo 1.0 end
.t1 tag configure demo -lmargin1 0 -lmargin2 0 -lmargincolor red
# second bug, -padx 0
destroy .t2
text .t2 -padx 0 -bd 10 -relief flat -height 10 -undo 1 -wrap word -bg white
pack .t2 -padx 4 -pady 4
.t2 insert end {Bug in revised_text [74f86687]. This text widget has -padx 0.
The insertion cursor vanishes if -padx 0.
}