| Description: |
On MacOSX 12.5.1, with a macosx build of Tk 8.7 against Tcl 9.0, running the whole Tk test suite shows failure of one test
==== textDisp-21.4 count -displaylines regression FAILED
==== Contents of test case:
set message {
QOTW: "C/C++, which is used by 16% of users, is the most popular programming language, but Tcl, used by 0%, seems to be the language of choice for the highest scoring users."
(new line)
Use the Up (cursor) key to scroll up one line at a time. At the second press, the cursor either gets locked or jumps several lines.
Connect with Tkcon. The command
.u count -displaylines 3.10 2.173
should give answer -1; it gives me 5.
Using 8.5a4 (ActiveState beta 4) under Linux. No problem with ActiveState beta 3.
}
toplevel .tt
pack [text .tt.u] -side right
.tt.u configure -width 30 -height 27 -wrap word -bg #FFFFFF
.tt.u insert end $message
.tt.u mark set insert 3.10
tkwait visibility .tt.u
set res [.tt.u count -displaylines 3.10 2.173]
destroy .tt
unset message
set res
---- Result was:
-13
---- Result should have been (exact matching):
-1
==== textDisp-21.4 FAILED
|